Re: I know this is not the right place to ask this buuut.
Re: I know this is not the right place to ask this buuut.
- Subject: Re: I know this is not the right place to ask this buuut.
- From: Ron Hunsinger <email@hidden>
- Date: Mon, 25 Jul 2011 12:49:32 -0700
On Jul 25, 2011, at 11:43 AM, Zavatone, Alex wrote:
> I've got 397 text files that I mailed to myself (in a zip) and opened previously in Snow Leopard.
>
> Lion's now asking me if I want to open each one since it came from "the internet".
>
> Does anyone know a way to disable this or use an Applescript to bypass this alert?
Files that are downloaded from the internet are given (by most applications that download such things) a com.apple.quarantine extended attribute. When you open/unpack a container file (.dmg, .zip, etc.), that attribute gets carried across to each contained file. You get the warning message when you open any file with this attribute; dismissing the dialog clears the attribute.
If you still have the .zip file handy, run the Terminal command
xattr -d com.apple.quarantine path/to/file.zip
and then unpack it again. If you don't have the zip file, but all the messages are in a folder, you can use:
xattr -d com.apple.quarantine *
(or *.emlx or whatever the extension is) to remove the attribute from a bunch of files.
_______________________________________________
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