Re: Applying permissions to all files in all subfolders
Re: Applying permissions to all files in all subfolders
- Subject: Re: Applying permissions to all files in all subfolders
- From: "John C. Welch" <email@hidden>
- Date: Wed, 15 Aug 2007 10:50:21 -0500
- Thread-topic: Applying permissions to all files in all subfolders
On 8/15/07 08:53 AM, "Tom Giles" <email@hidden> wrote:
> that's a good point about it applying the perms to the whole folder
> actually.
> with your script, if for instance i dragged an item into a subfolder
> would that apply the perms to that item? that's what i need to happen...
> thanks for your help!
This is where "do shell script" SCREAMS out to be used.
Get the path of the folder, convert it to a POSIX path, (quoted form), and
then run chmod -R <perms> <path of folder>
One line, and it will go as deep as you like.
--
''Look, I don't want to wax philosophic, but I will say that if you're alive
you've got to flap your arms and legs, you've got to jump around a lot, for
life is the very opposite of death, and therefore you must at [the] very
least think noisy and colorfully, or you're not alive.''
- Mel Brooks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden