Hello Thomas Hackert, Many thanks for your suggestion. I aware of -x and it didn't work. However, after your suggestion, my brain become more clearer :) then read the manual again, and found the answer. > zip -x\*.svn\* -r OOo_DEV300_m35_testautomation.zip DEV300_m35/testautomation Thanks again. From: Thomas Hackert <[EMAIL PROTECTED]> Subject: [qa-dev] Exclude dirs from zip (was: [qa-dev] Checkouts of "testautomation") Date: Tue, 11 Nov 2008 10:22:54 +0100
> Hello Maho, *, > On Tue, Nov 11, 2008 at 12:29:46PM +0900, Maho NAKATA wrote: > <snip> > > BTW: how I remove .svn dirs for zip? For tar, we can exclude .svn dirs by > > "--exclude=.svn" > > I'm using zip-3.0 from http://www.info-zip.org/Zip.html. > > I am using zip-2.32-1 on Debian here. "man zip" as well as the forum > on info-zip.org has told me, that you can use something like "zip > -x". I found a reference to an file in the manpage, where you can > use one line per filter you want to use. And than you can run zip > like "zip -x >yourfile.txt" ... ;) I have not tested it (yet), sorry > ... :( > HTH > Thomas. > > -- > NP: Totenmond - Die Schlacht > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
