FILES="/rollovers/DailyCadRpt.* /rollovers/DailyFireRpt.*"
(for f in $FILES ; do uuencode "$f" "$f" ; done ) | mail -s "Subject" recipient_email@domain.com
The above works in AIX 6.1 for wildcards. But, you must use the 10-pad asterisk. The asterisk above the number eight does not work in AIX. Also, this does not have any body text. But that is done as in the other examples. You may add more files by using a space as the separator, as in my example. Also, you cannot use Daily* with either asterisk. AIX just won't do it. The asterisk must come after a period in the file name. Our reports have the date added to the report name separated by a period. It preserves our archival naming pattern and grabs it every day without needing a specific file name.