"cron1": "find ./cache/ -maxdepth 1 -type f -mtime +1d -not -name .gitignore -exec trash {} +"
"cron2": "find ./cache/ -maxdepth 1 -type f -mtime +1d -not -name .gitignore -exec trash {} \\;"
cron1 does not appear to allow put back
in trash.
The only difference appear to be cron1 pass all files to trash
at once, cron2 pass and run trash
1 by 1. I might be doing something wrong, but unable to spot it.
PS: since trash
is silent, do you see anyway I can make this command verbose? so I can do a simple | wc -l
at the end to count files?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too