Article 5GR75 delete files older than a year

delete files older than a year

by
1s440
from LinuxQuestions.org on (#5GR75)
Hi all,

We have monthly backups and yearly backups, and wanted to keep files for the 12 months and delete the older months. Is it similar to delete files older than x days for ex:

Code:find /your/file -mtime +365 -exec rm {} +latest?d=yIl2AUoC8zA latest?i=CYxPm1ZbIPM:6we2SRs3a1g:F7zBnMy latest?i=CYxPm1ZbIPM:6we2SRs3a1g:V_sGLiP latest?d=qj6IDK7rITs latest?i=CYxPm1ZbIPM:6we2SRs3a1g:gIN9vFwCYxPm1ZbIPM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments