I want to send multiple CSV file using below code. In Result folder, we have multiple CSV files. However, I want to catch only Summary CSV files. I was trying using *, % with different combination. However, not able to do so.
From below code, I could send only one file (SDN_WCFINCEN_summary_20151013_111216.csv )
(cat /aceapp/QATD011R4/ace.ofac/testofac/results/SDN_WCFINCEN_summary_20151013_111216.csv;
uuencode /aceapp/QATD011R4/ace.ofac/testofac/results/SDN_WCFINCEN_summary_20151013_111216.csv SDN_WCFINCEN_summary_20151013_111216.csv) | mail -s "Summary Report" [email protected]
uuencode
can't handle multiple file, moreover,uuencode a b
will encodea
withb
as a name, you have to do a loop. – Archemar Oct 14 '15 at 13:13