change -exec to -ok, then you will be prompted before the comman rm is executed.

Ray Strode wrote:



Assuming your Windows/VFAT partition is /dev/hda1, and is mounted
on /mnt/hda1, as root, type:

   cd /mnt/hda1
   find . -type f -name "*.eml" -exec rm -f {} \;

That should remove all the files under a directory that ends with
the .eml extension.
Just a warning. As Vince said, it will delete ALL the files with .eml extension, so make sure that's
what you really want to do before you run the command.

--Ray



Reply via email to