06-22-06 12:25 PM
On Wed, 21 Jun 2006 19:16:10 GMT, Kevin Collins wrote:
> In article <4ftjg0F1kjrv8U2@individual.net>, Dave Hinz wrote:
>
> That should really be 'exec OR xargs'...
[...]
Actually, that should really be -exec AND NOT xargs, unless you
have one of those find/xargs variants that support -print0/-0 as
the GNU or recent BSD ones.
And you need to treat regular files and directories differently
(and use -depth), and if a directory that user owns contains
files owned by other users, you need to decide what to do (chown
root, chmod u-s for instance).
--
Stephane
[ Post a follow-up to this message ]
|