Re: do shell script "command not found"
Re: do shell script "command not found"
- Subject: Re: do shell script "command not found"
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 21 Sep 2009 06:23:16 -0400
Consider the audience of users for your script. If it's just you,
then it doesn't matter, but I'd you foresee anyone else using it on
their own Mac, it's not a good idea to introduce a dependency on a
tool that doesn't come standard with the OS. If zip/ditto, bzip, or
gzip will meet your needs, I'd use one of them.
Any of the above will produce archives that non-Macs can read, but the
ditto command might include data that won't be much use on such
systems.
On Monday, September 21, 2009, Rounak Jain <email@hidden> wrote:
>
>
> Hi,
> Thanks for the reply.
>
>
> 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.
>
> I will look into "ditto" man page
>
>
> 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.
>
> no i dont hate it so much. :) I know that shell scripting is a very powerful way of accomplishing many useful tasks (at times better than even applescript). And I know that GUI scripting should be the last resort
>
>
> _______________________________________________
> 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
>
--
Mark J. Reed <email@hidden>
_______________________________________________
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