Delete old files under Linux OS:
Command:
$ find /var/log -mtime +60 -type f -exec rm -rf {} \;
Description:
Command will delete files from directory /var/log which were last modified at least 60 days ago.
Source:
LinuxQuestions
Subscribe to:
Post Comments (Atom)
0 komentářů:
Post a Comment