script to find files owned by particular user and replace with another uid
Kurt Granroth
plug-discuss at granroth.org
Wed Oct 4 16:56:56 MST 2006
Craig White wrote:
> Anybody have a script that finds file say owned by uid=1010 and replace
> owner with uid=1020?
Offhand...
find . -type f -uid 1010 -print0 | xargs -0 chown 1020
More information about the PLUG-discuss
mailing list