On Wed, Oct 04, 2006 at 04:45:35PM -0700, Craig White wrote:
> Anybody have a script that finds file say owned by uid=1010 and replace
> owner with uid=1020?
# find / -user 1010 -ok chown 1020 {} \;
or if you're brave
# find / -user 1010 -exec chown 1020 {} \;
--
Darrin Chandler | Phoenix BSD Users Group
dwchandler@stilyagin.com | http://bsd.phoenix.az.us/
http://www.stilyagin.com/ |
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss