Hi,

Andrew McGlashan wrote:
Rob Owens wrote:
I tried this and it successfully creates myfile.zip:

find ./ -iname "*.jpg" -print | zip myfile -@

But it fails if there are spaces in the path or filename.  How can I
make it work with spaces?

Does this work:

find ./ -iname "*.jpg" -print0 | xargs -0 zip myfile -@

It does work, I tested it and it was perfect for the job -- not sure where the OP has gone though.

Cheers

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d2d0575.2060...@affinityvision.com.au

Reply via email to