On Mon, 10 Jan 2011 20:50:19 -0500 Rob Owens <row...@ptd.net> 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? > > Thanks > > -Rob >
I think the best way would be to quote them in the pipe: find ./ -iname "*.jpg" -printf "'%p'\n" | zip myfile -@ -- rbmj -- 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/20110111153503.30cab...@blair-laptop.mason