chmod operation on directories / files

RW fbsd06 at mlists.homeunix.com
Wed May 7 23:11:44 UTC 2008


On Wed, 07 May 2008 16:17:12 +0200
Julien Cigar <jcigar at ulb.ac.be> wrote:

> sorry.. | xargs chmod instead of | xargs | chmod ...

It will still fail on a directory name that contains a space (this is
a difference between Gnu and BSD).

You need:

find ... -print0 | xargs -0


More information about the freebsd-questions mailing list