linux find delete files dates Delete files between two dates To delete all files in a directory, between two dates, use the find command: find /path/to/dir/ -type f -newermt 2022-01-01 \! -newermt 2023-01-01 -exec rm -fv '{}' +