Delete the newist files 

*Tags*: cat with line numbers on

If you got a whole bunch of files created in a directory and you don't them to be there. The quickest way to delete all those newly created files is:

ls -t | cat -n # see how many of files/dirs need to be delelted, say 14
ls -t | head -14 | xargs rm -rf

documented on: 2000.04.01 Sat