|
|
Subject:
Scripting applescript
Category: Computers > Programming Asked by: ghendo-ga List Price: $20.00 |
Posted:
05 Jan 2006 22:14 PST
Expires: 04 Feb 2006 22:14 PST Question ID: 429818 |
What applescript code can be used to create a zip archive in a similar way that the finder create archive does. |
|
Subject:
Re: Scripting applescript
Answered By: andyt-ga on 13 Jan 2006 21:11 PST Rated: |
Hi Ghendo, The following code will create a zip archive in a similar way to the finder. It uses applescript's 'do shell' command along with the shell's 'zip'. An example is below, you can replace the path to the input file and the output zip archive with whatever you want to zip and what you want the archive to be called. do shell script "zip - /Users/andy/testfile.txt > /Users/andy/archive.zip" Let me know if this answered your question, and if you require any clarification, don't hesitate to ask. Regards, Andy | |
| |
|
ghendo-ga rated this answer: |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |