[CentOS] manipulating files and directories with spaces

Wed Nov 21 09:39:32 UTC 2007
William L. Maltby <CentOS4Bill at triad.rr.com>

On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote:
> Shad L. Lords wrote:
> > find . -type type -print0 | xargs -0 chmod value
> 
> Or (SUSV compliant): 
> 
> find . -type f -exec chmod 123 {} +

Easier to type and more natural (for me). But less efficient than the
xargs version since each file cause a new process to be spawned. For a
very large number of items the difference would be noticeable.

> 
> Cheers,
> 
> Ralph
> <snip sig stuff>

--
Bill