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: "Dave Ferro" <email@hidden>
- Date: Mon, 7 May 2007 12:26:54 -0400
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.
Does ditto provide any benefits over cp for transferring PDF files?
Dave
On 5/7/07, Wayne Melrose <email@hidden> wrote:
On 7. mai. 2007, at 10.54, Peter Waibel wrote:
I'd suggest having a look at doing it with "do shell script ditto /Users/Me/Desktop/myfile.pdf /Volumes/Server/pdfspath/"
'ditto' is great because it will preserve the resource fork.
Take care! Using ditto with OS 10.3.9 preserving the resource fork is not the default behavior. You must use the option --rsrc.
ditto --rsrc /my/file
On OS 10.4 reserving the resource fork is the default.
Peter
Just one more thing.. does this default behavior change with later releases of OSX?
_______________________________________________
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
_______________________________________________
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