• 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
Zippin'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Zippin'


  • Subject: Zippin'
  • From: Jay Louvion <email@hidden>
  • Date: Fri, 25 Mar 2011 12:19:58 +0100
  • Thread-topic: Zippin'


Hi all,

I've been trying to get something which I thought fairly straight-forward (chuckle) to work but don't find a was to.

Let's simply say I'm trying to zip a folder in the same way the Finder's contextual menu item "Create archive" does.

I use the shell's zip command, with –r for recursiveness and –j to trash the path to the folder. Unfortunately, the –j option also scraps the subfolder hierarchy in the folder I am zipping, creating a zip archive containing all the files on the first level and making all the subfolders disappear. Drat.

I previously painstakingly had to copy the folder to the startup disk, zip it there, then trash the copy of the folder, move the zip file back up to whichever of my user folders it should be situated in. Snow Leopard's security freak-out has put an end to that.

So please help me to do what's right (in Snow Leo's terms) and correct (in the sense that I want to keep my subfolders, thanks a lot).

j.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

www.studiocasagrande.com

P Please consider the environment before printing this email. 
 _______________________________________________
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: Zippin'
      • From: Eduardo Sato <email@hidden>
  • Prev by Date: Re: Naming a duplicated file
  • Next by Date: Re: Zippin'
  • Previous by thread: Re: Naming a duplicated file
  • Next by thread: Re: Zippin'
  • Index(es):
    • Date
    • Thread