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: revDAVE <email@hidden>
- Date: Tue, 24 Apr 2007 16:52:05 -0700
- Thread-topic: Using the 'Create Archive' - File Menu Command
On 4/24/2007 10:15 AM, "Michelle Steiner" <email@hidden> wrote:
>> 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.
- thank you Michelle - actually that was my own creation just for the
purpose of this e-mail - in the real test I used real stuff...
"/MacHD/aTest/" - - aTest is real at the root level
--
Thanks - RevDave
email@hidden
[db-lists]
_______________________________________________
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