Quantcast
Channel: days – ASGAUR
Browsing all 2 articles
Browse latest View live

Find and remove Files in Unix older than the specified number of days

For finding the files older than 31 days find . -name “filename.ext” -mtime +no_of_days -exec ls -ltr {} ; e.g   find . -name “*req” -mtime +31 -exec ls -ltr {} ; Verify the timestamp of all the...

View Article



Delete Files Older Than x Days on Linux / Unix

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images