Delete Files Older Than 30 Days This command will delete all files older than 30 days in system /opt/backup directory. find /opt/backup -type f -mtime +30 -exec rm -f {} \; If you want to just perform the action in
Delete Files Older Than 30 Days This command will delete all files older than 30 days in system /opt/backup directory. find /opt/backup -type f -mtime +30 -exec rm -f {} \; If you want to just perform the action in