Generating a list of processed files
Posted: Tue Oct 27, 2015 9:45 am
I have a process set up that grabs a bunch of files from a server via sftp, runs them through a loop that unzips each file and creates a new directory to unzip it into. The loop then emails the user for each file (the output file variable) that was unzipped. This ends up sending out a bunch of successive emails to the users instead of one email with all of the files that were processes.
Is there a way to take the output file variable and append it to a file list, then send that entire list out in a single email?
Is there a way to take the output file variable and append it to a file list, then send that entire list out in a single email?