Looking over the manual, I can't figure out how to set the date format.
I am using the following to locate folders that are in 'dd-mm-yyyy' name, but realise that it may not be working due to the date format.
Is there any way to set the date format of '-mtime'?
find "${backup_dest}" \
-maxdepth 1 -type d -mtime +3 \
-name '[0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]' \
-execdir mv {} $folder_trash_path/{}-"${site[$i]}" ';'
find
command is searching for directories, but your question description refers to files. Which is it?-maxdepth 1
throwing you off? (are the directories in question in the $backup_dest directory, or below it?)