Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: do shell script "command not found"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script "command not found"



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
References: 
 >do shell script "command not found" (From: Rounak Jain <email@hidden>)
 >Re: do shell script "command not found" (From: Axel Luttgens <email@hidden>)
 >Re: do shell script "command not found" (From: Rounak Jain <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.