[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: files with spaces



On Wed, May 15, 2002 at 11:48:40AM +0200, Raffaele Sandrini wrote:
> I tried to run a "find | xargs" command. It worked well until a file with a 
> space in it showed up. There each part of the filename is treated as a 
> seperate argument of the command executed by xargs.
> 
> Is there any way to get find or xargs putting a "\" in front of every space in 
> a filename?

find -print0 | xargs -0

Chris
-- 
Chris Halls | Frankfurt, Germany
Yahoo:hagga12000 ICQ:36940860 MSN:chris.halls@nikocity.de


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: