command line ZIPping UNZIPping syntax
command line ZIPping UNZIPping syntax
- Subject: command line ZIPping UNZIPping syntax
- From: Jake Pietrykowski <email@hidden>
- Date: Fri, 04 Feb 2005 10:15:15 -0600
Hi,
As part of a script I want to ZIP and UNZIP files and directories. I'm
currently using the ditto command to create the archives, and the unzip
command to unzip, each preceded by do shell script.
forgive the lack of technical jargon below ;-)
I know there are endless possibilities to working with archives, but what I
need is a way to KEEP all of the Finder info, custom icons, labels, etc.
Permissions are not essential to keep. I need to create an archive like
such, and then in turn, be able to also extract the archive.
--current ZIP script
do shell script "ditto -c -k -rsrc --keepParent /path/to/files
/path/to/archive.zip"
--current UNZIP script
do shell script "unzip /path/to/archive.zip -d /path/to/desktop"
Using the 'unzip' command, also renders an extra __MACOSX folder.
Thanks for any insight.
Regards,
Jake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden