From: "M. Edward (Ed) Borasky" Date: 2007-10-30T14:48:05+09:00 Subject: Re: Zip an existing directory? Peter Marks wrote: >> zip -r archive.zip >> Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29/ >> >> I forgot the "-r" (for recursive). > > Thanks Ed, that archives the contents of "2007-10-29". Do you know if > there is a way to make the new archive only contain the contents of > "2007-10-29" and not the folders of the path leading to it? $ cd /Users/petermarks/Desktop/orbus/public/1/daily/ $ zip -r archive.zip 2007-10-29 There's another way, but I don't remember what it is.