Delete all files created after a certain time
22 Mar 2015
I want to find and delete all files after 11:19am, 18 March, 2015 in the current dir.
$ touch -t "201503181119" after
Now I have a file named "after" whose creation time is 11:19am, 18 March, 2015.
$ ls -l after -rw-rw-r-- 1 mwood mwood 0 Mar 18 11:19 after
Now find and delete any files older than this file:
$ find . -newer after -exec rm -rf {} \;