This command deletes all files modified more than 30 days ago in the current directory
1 2 3 4 5 6 7 8 | # have a look at what it will delete find ./ - type f -mtime +30 | more # then get an idea of how many files it will delete find ./ - type f -mtime +30 | wc # after you are happy run with the -delete param find ./ - type f -mtime +30 -delete |
0 Comments