Date: Sat, 10 Feb 2001 15:49:59 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Laurynas Biveinis" Message-Id: <1659-Sat10Feb2001154958+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp-workers AT delorie DOT com In-reply-to: <20010210115707.1224.qmail@lauras.lt> Subject: Re: Cygnus tree in SFN, again References: <20010210115707 DOT 1224 DOT qmail AT lauras DOT lt> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Laurynas Biveinis" > Date: Sat, 10 Feb 2001 13:57:07 +0200 > > Is it possible automatically leave out a set of > directories when extracting an archive? No :-(. Ideally, djtar should be able to do that if the name-change file has only one file name (the original one) on the line, exactly like it does interactively, but it doesn't support this currently. > If an user > gets a stock gcc-3.0.tar.bz2 from FSF FTP site, there will > be libjava and gcc/testsuite directories. I'd like > to silently skip them on extracting. I can't just > extract and ignore them, because there are SFN conflicts, > and I'm too lazy to solve them. So what I need is an > opposite of '-o' option in djtar. Any solutions, or > should I patch djtar? It would be nice to add this to djtar. However, even if you do, you cannot start using this option right now, because users won't have the patched version installed. Moreover, I'd advise against omitting entire directories. Someone might want to look inside them, for whatever reason. For example, the testsuite is probably unusable as a whole, but each one of the tests there can probably be run manually. It might be useful. ``Laziness is the mother of invention'' (a paraphrase, I know ;-). So how about writing a short program to automatically transform the clashing names?