On Fri, Nov 21, 2008 at 06:45:41PM +0900, Kevin Shackleton wrote: > 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.
You need -name before the *.zip to make it work: find -name "*.zip" -print0 | xargs -0 unzip Without quotes around *.zip you will run into trouble whenever there is a match in the current working directory because bash will interpolate it first. If there is one match it will just find that file, if there is more than one, find will give an error "find: paths must precede expression". -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
