[CentOS] Computer 1A question

Sat Aug 5 15:27:30 UTC 2006
Todd Cary <todd at aristesoftware.com>

Joshua -

The error is

rm: Too few arguments

find /home/mydir -name "*.zip" -type f -print0 | xargs -0 rm

Todd

Joshua Baker-LePain wrote:
> On Sat, 5 Aug 2006 at 7:48am, Todd Cary wrote
>
>> This one worked like a champ:
>>
>> find /home/mydir -name "*.zip" -type f -exec rm {} \;
>>
>> Whereas this one produced an error:
>>
>> find /home/mydir -name "*.zip" -type f -print0 | xargs -0 rm
>
> For completeness' sake, what was the error?
>

-- 
Ariste Software
2200 D Street Ext
Petaluma, CA 94952
(707) 773-4523