Re: copy a package with Do Shell Script
Re: copy a package with Do Shell Script
- Subject: Re: copy a package with Do Shell Script
- From: Christopher Nebel <email@hidden>
- Date: Wed, 16 Dec 2009 09:28:11 -0800
On Dec 16, 2009, at 9:15 AM, Yvan KOENIG wrote:
> I'm really annoyed.
> I'm trying to copy Pages documents which are packages using do Shell Scripts.
> I tried with cp and ditto but the result is not the wanted one.
> I get only simple files of size zero, not the packages.
> I may zip the package, copy the created archive, unzip the copied archive and delete the original one but it seems a bit boring.
> Of course I may use the Finder but I try to stop using it.
>
> Is there a command able to copy packages ?
A package is merely a directory with specially arranged contents; cp(1) should be perfectly capable of copying it. Did you use the -R option? (Of course, cp on a directory with no -R should have just failed, not given you a zero-length file.)
--Chris N.
PS: Pages '09 documents are zip archives; you must be using an older version? _______________________________________________
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