I need to create a bash script to run a command if a file in a directory isn't newer than 30 mins.
I was thinking something like:
find /folder/to/watch/* -mmin -30 -exec {fixscript.sh} \;
Aucun commentaire:
Enregistrer un commentaire