2008/11/21 Kevin Shackleton <[EMAIL PROTECTED]>:
> I'm having trouble finding the right syntax for using xargs to extract
> multiple zip files that have space characters in the name.  Using null
> delimiters (eg like:
>  find *.zip -print0 | xargs -0 unzip
> ) is not doing it for me.

Using find -print0 and xargs -0 is correct.

But I think you are hitting a limitation of unzip - it expects only
one zip file at a time.

Add "-n 1" (or "--max-args 1") to xargs - to force it to run unzip
with only one zip file at a time.

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to