how to delete any files older than two days in unx code example Example: delete old files linux find /opt/backup -type f -mtime +30 -exec rm -f {} \;