Crack My Head With Tech
Sunday, October 1, 2017
housekeeping old files
find /path/to/check/ -name '*.sql' -type f -mtime +6 -exec rm -rfv "{}" \;
delete file older that +n day
https://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment