![]() ![]() This should work on Ubuntu, Suse, Redhat, or pretty much any version of linux. ![]() We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them.įind /path/to/files* -mtime 5 -exec rm \ at the end is required to end the command. ![]() The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |