Re: PDF File says in use by Mac OS X
Re: PDF File says in use by Mac OS X
- Subject: Re: PDF File says in use by Mac OS X
- From: Matt Deatherage <email@hidden>
- Date: Mon, 7 May 2007 18:37:17 -0500
On 5/7/07 at 11:26 AM, Dave Ferro <email@hidden> wrote:
> I've been using do shell script "cp filepath targetpath" and it seems
> to retain the resource fork information for the PDF's I've used it for.
I suspect bad terminology here. PDF files don't store information in a
resource fork, so if they did or didn't lose the fork in copying,
there's really not much chance you'd notice. Metadata - information
about the file beyond the name, dates, and permissions as determined by
Unix in 1972 - is NOT PART OF THE RESOURCE FORK. It gets lumped that
way because the same brain-dead 35-year-old copy routines that ignore
resource forks also tend to ignore any metadata invented since
Watergate.
But, on the specific topic: "cp" correctly copies all Mac OS X
metadata, including ACLs and arbitrary unstructured metadata like
Spotlight tags, in Tiger and later. Before that, you'd get only the
data fork and the basic metadata from 1972, and should have used another
tool that knew better. In 10.4 and later, "standard" Unix tools like
"cp" and "mv" all work with fully-featured files.
--
Matt Deatherage <email@hidden>
GCSF, Incorporated <http://www.macjournals.com>
"People say the glass is half full, but they don't say of what."
-- Sourpuss, "Dilbert," 2005.12.10
_______________________________________________
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