Thanks for the reply m8.
I don't think I explained what I was trying to do correctly, I'm trying to create a shell script that will allow me to find all empty files within my directory tree, list them and then give me the option of deleting them. I would like to be able to get the option of deleting them in the format of :
delete word.doc y/n? :> y
word.doc deleted.
I know some files that are empty are not to be deleted this is why I need to see what I am about to get rid of.
I'm just strating out doing Linux and I've hit a brick wall with this so any help would be appreciated, cheers.
Last edited by cat123; 06-05-2008 at 07:56 AM..
|