B
Bram
Guest
Hi All
I need to perform routine maintenance on a server every 3 weeks, and will need to remove various files and directories. But files in one directory, i need to keep. From what i have found, this is how to remove files older than x days:
find /path/to/files* -mtime +5 -exec rm {} \;
Does this mean that only the files highlighted in red will be deleted? The server is running on SuSe 9.
I need to perform routine maintenance on a server every 3 weeks, and will need to remove various files and directories. But files in one directory, i need to keep. From what i have found, this is how to remove files older than x days:
find /path/to/files* -mtime +5 -exec rm {} \;
Does this mean that only the files highlighted in red will be deleted? The server is running on SuSe 9.