Re: do shell script "command not found"
Re: do shell script "command not found"
- Subject: Re: do shell script "command not found"
- From: Philip Aker <email@hidden>
- Date: Mon, 21 Sep 2009 02:40:39 -0700
On 2009-09-21, at 02:05:10, Rounak Jain wrote:
I am not really comfortable with shell scripting and I don't enjoy
it like applescript. So I want to use one utility and stick to it.
That is why I asked for an opinion. I am not concerned about
formats. Any format will do. For opening the archives, I am going to
use a GUI software. Hopefully, p7zip is a good choice for creating
archives. It will be really time-consuming to switch.
The zip format most familiar to Mac OS X users is the type created by
the Finder (right-click on a file or folder and note the Compress
"..." menu item). To emulate what the Finder does when creating
archives, see <x-man-page://ditto> in the EXAMPLES section. If you are
concerned with preserving features such as resource forks (for custom
icons e.g.), parent folder, and extended attributes, ditto is the tool
of choice. If you are not comfortable with shell scripting, you can
use AppleScript GUI scripting to invoke the "Compress …" menu item and
bypass shell scripting entirely.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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