Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: global find and replace for file ownership



try find. Basic syntax for what you want would be:

sudo find / -user olduser -exec chown newuser {} \;


Fred.

On Monday, January 27, 2003, at 12:00 PM, Vicente Lozano wrote:

Could anyone recommend a good command line method (or point me to a
previous discussion topic) for globally finding and replacing file
ownership ?

One of our administrators has recently moved on, and I would like to
revert ownership of the project files he worked on to the admin user
before deleting the user account.

Thank you.


Vicente Lozano
Systems Administrator
Undergraduate Writing Center
University of Texas at Austin
email@hidden
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >global find and replace for file ownership (From: Vicente Lozano <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.