[luau] help with rm

W. Wayne Liauh LiauhW001 at Hawaii.rr.com
Mon Dec 23 07:45:00 PST 2002


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






More information about the LUAU mailing list