• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What's wrong with this call to zip?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: What's wrong with this call to zip?
      • From: Axel Luttgens <email@hidden>
References: 
 >What's wrong with this call to zip? (From: KOENIG Yvan <email@hidden>)
 >Re: What's wrong with this call to zip? (From: Philip Aker <email@hidden>)
 >Re: What's wrong with this call to zip? (From: KOENIG Yvan <email@hidden>)
 >Re: What's wrong with this call to zip? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: a date is not a date? Or: Why I sometimes hate AppleScript...
  • Next by Date: System Events versus Finder
  • Previous by thread: Re: What's wrong with this call to zip?
  • Next by thread: Re: What's wrong with this call to zip?
  • Index(es):
    • Date
    • Thread