If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Well, I’m not native English speaker and it’s not quite clear to me what means “remove 7 days back files” – files older than 7 days, or files created during the last 7 days?
OK, one will “only” change the sign of mtime argument (and better do it before running find with -exec rm…)
I’d also like to mention -mmin parameter to find: granularity will increase from days (mtime, ctime) to minutes ( mmin, cmin)
Well, I’m not native English speaker and it’s not quite clear to me what means “remove 7 days back files” – files older than 7 days, or files created during the last 7 days?
OK, one will “only” change the sign of mtime argument (and better do it before running find with -exec rm…)
I’d also like to mention -mmin parameter to find: granularity will increase from days (mtime, ctime) to minutes ( mmin, cmin)
Good luck,
Petko A.