On Mon, 12 Aug 2002 09:31:52 -0400 "Anil Garg" <anilg at niksun.com> wrote: > hi, > > infact i tweaked my problem earlier.... > Actually, i want to delete all the files in a directory with size 0 , > using single command. find can do a number of tests including file type, size, date created etc. For files of zero size you could either do: find ./ -empty or find ./ -size 0 There are a few other helpful examples on <http://web.singnet.com.sg/~junxin/linux_useful_cmds.html#Finding%20fil es>, <http://life.csu.edu.au/~lbenton/Howto/howto_21.html> and <http://archive.ncsa.uiuc.edu/General/Training/InterUnix/files/find.htm l> And if you're a masochist there is always 'man find' *:) G. -- ----------------------------------------------------------------------- WORK: http://www.gencon.co.uk PLAY: http://polytechnic.co.uk