Resources / Blogs
Deleting files older than x number of day
Below is the linux command to delete files older than 3 days with extension .trc: find . -type f -name ‘*.trc’ -mtime +3 | xargs -i -t rm {}

Below is the linux command to delete files older than 3 days with extension .trc:
find . -type f -name '*.trc' -mtime +3 | xargs -i -t rm {}