• 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: Axel Luttgens <email@hidden>
  • Date: Wed, 27 Feb 2008 14:14:36 +0100

Le 27 févr. 08 à 14:00, KOENIG Yvan a écrit :


Le 27 févr. 2008 à 12:44, Axel Luttgens a écrit :
…

That's because zip takes into account the hierachy, as passed in its arguments, of the files/folder to be archived.
Perhaps could you consider soemthing like this:
cd ~/Desktop
zip -r les_fonctions_Numbers+.rtfd.zip les_fonctions_Numbers+.rtfd
assuming item "les_fonctions_Numbers+.rtfd" is on your desktop?



Searching in my HD I found the created archive files at the volum root.


Alas their contents is the odd one:

[...]

This is not what I wish ;-)

So, I will stay with ditto.

It's me again. ;-)

Are you sure the archive at the volume's root was not the one created with your initial trials?

Because here, with test.rtfd on my desktop, executing this in Terminal:
cd ~/Desktop
zip -r test.rtfd.zip test.rtfd
creates the archive test.rtfd.zip on the desktop; and double-clicking the archive just yields the expected result...


That said, ditto and zip should work equally well for your purpose.

Axel _______________________________________________
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: KOENIG Yvan <email@hidden>
    • Re: What's wrong with this call to zip?
      • From: Philip Aker <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>)
 >Re: What's wrong with this call to zip? (From: KOENIG Yvan <email@hidden>)
 >Re: What's wrong with this call to zip? (From: Axel Luttgens <email@hidden>)
 >Re: What's wrong with this call to zip? (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: What's wrong with this call to zip?
  • Next by Date: Re: 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