Re: Using the 'Create Archive' - File Menu Command
Re: Using the 'Create Archive' - File Menu Command
- Subject: Re: Using the 'Create Archive' - File Menu Command
- From: Michelle Steiner <email@hidden>
- Date: Tue, 24 Apr 2007 10:15:24 -0700
On Apr 24, 2007, at 9:22 AM, revDAVE wrote:
Please forgive my novice AppleScript status, however when I ran
this script
- I get the error: " Finder got an error - ditto: /myDisk/
aTest.zip: no
such file or directory"
Q: what did I do wrong - how can I fix this?
tell application "Finder"
set fold to (characters 1 thru -2 of (POSIX path of ("/myDisk/
aTest/")))
as text
do shell script "ditto -ck " & quoted form of fold & space &
quoted form
of (fold & ".zip")
end tell
Change "myDisk" to the name of your hard disk. Change "aTest/" to
the name of the folder you want to compress.
--
I can't say I've never been wrong. Well, I can say it, but I'd be
wrong.
_______________________________________________
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