Sunday 14 December 2008

remove 1000 files at a time

Deleting 1000 files of name sri.1228457562.ram.1228456412.3.linux with different timestamps :

find . -name "sri.12284[0-9]*.ram.[0-9]*.[0-9].linux" -exec rm {} \;

Note : rm * won't work here


No comments:

Post a Comment

Tweets by @sriramperumalla