Re: script to find files owned by particular user and replac…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Kurt Granroth
日付:  
To: Main PLUG discussion list
題目: Re: script to find files owned by particular user and replace with another uid
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
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss