On Wed, Jun 06, 2001 at 09:41:12AM -0700, Peter Jay Salzman wrote:
> i tried using
> 
>       find /data/MP3 | xargs chgrp audio
> 
> to change the group of all my mp3's.   xargs was getting tripped up by
> filenames with single quotes.  of course, i was able to get the group
> changed with
> 
>   find /data/MP3 -exec chgrp audio \{} \;

find /data/MP3 -print0 | xargs -0 chgrp audio

[...]
> but i'm curious whether i could've made xargs work.
> is there a way to make xargs work on a group of filenames which may contain
> single quotes?

Null seperation.

-- 
Henry House
OpenPGP key available from http://hajhouse.org/hajhouse.asc

PGP signature

Reply via email to