Re: What's wrong with this call to zip?
Re: What's wrong with this call to zip?
- Subject: Re: What's wrong with this call to zip?
- From: KOENIG Yvan <email@hidden>
- Date: Wed, 27 Feb 2008 12:05:08 +0100
Le 26 févr. 2008 à 22:58, Mark J. Reed a écrit :
The "zip" command requires you to give it the name of the zip file to
create, before the list of files to add to it. And if you want to
include a folder with all its contents, you need to supply the -r
option. In Terminal it looks like this:
zip -r newfile.zip /path/to/some/directory/
Thank's but it doesn' work.
If I pass (as you wrote) a simple name for the dest file it doesn't
create an archive.
If I pass a pathname, I get the archive "les_fonctions_Numbers
+.rtfd.tgz" on the desktop
but when I expand it, I don't get the "les_fonctions_Numbers+.rtfd"
but a folder named "Users" containing
a subfolder named "yvankoenig" containing
a folder named "Desktop" containing
two files:
"les_fonctions_Numbers+.rtfd"
and
"les_fonctions_Numbers+.rtfd.06c"
This is not what I wish ;-)
Yvan KOENIG
_______________________________________________
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