Re: Unixcommand for locking/unlocking....
Re: Unixcommand for locking/unlocking....
- Subject: Re: Unixcommand for locking/unlocking....
- From: Adam Wuellner <email@hidden>
- Date: Wed, 6 Jul 2005 13:32:24 -0500
On 7/6/05, Stefan Eriksson <email@hidden> wrote:
> Anyone knows of a unixcommand to lock/unlock a bunch of folders
> recursivly, like rm -r /Users/Ster...
Lock:
chflags -R uchg /path/to/folder
Unlock (must be file owner or super user):
chflags -R nouchg /path/to/folder
This is, AFAIK, what the little 'Locked' checkbox in the Finder's Info
window does.
man chflags
also some explanation here:
http://www.osxfaq.com/Tutorials/LearningCenter/HowTo/Trash/page2.ws
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden