[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing user id for all files in a file system



On Wed, Jun 14, 2006 at 05:16:25PM -0400, H.S. wrote:
> >sudo find / -uid [old UID] |xargs -i sudo chown [new UID] '{}'
> Shouldn't it be followed by a semicolon?

Had I done

sudo find / -uid [old UID] -exec chown [new UID] '{}' \;

then yes. But with xargs, no.

-- 
Stephen R. Laniel
steve@laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key

Attachment: signature.asc
Description: Digital signature


Reply to: