file permissions

Bryan Sant bryan.sant at gmail.com
Fri Jan 20 11:45:31 MST 2006


On 1/20/06, Corey Edwards <tensai at zmonkey.org> wrote:
> To be completely safe you should use null separators to account for
> files with spaces.
>
>         find . -type f -print0 | xargs -0 chmod ...
>
> Corey

Beautiful.  I was about to complain that xargs wasn't a good solution
(though faster) because it won't handle file names with spaces.  But
you've just exposed this blissful nugget of truth and made my year.

Thank you from the bottom of my shoes,
-Bryan



More information about the PLUG mailing list