I am running a shell script which runs multiple jars and as a result, writes into different files located in different directories.
I want to get list of files created in a directory as an output of running the script in the last run.
I have my file name as
date_time_ABC.txt. I thought of getting the file names by date but on a particular date I may run it many times, so I will get all the files including the ones created in previous runs also.
Is there a way I can get the list of the files which are generated after running the shell script. Please suggest.