Check for "done" file and download directory
Hi.
Is there a way to script the check for a done file in all directories (inside the home folder) and then download/delete the directory if said "done" file exists.
Sample structure (/home/Directories-To-check).
Apologies if this question has been asked before but I couldn't find anything to steer me in the correct direction.
Thank u for reading this and thank you in advance for the help
Is there a way to script the check for a done file in all directories (inside the home folder) and then download/delete the directory if said "done" file exists.
Sample structure (/home/Directories-To-check).
Apologies if this question has been asked before but I couldn't find anything to steer me in the correct direction.
Thank u for reading this and thank you in advance for the help