Mail Archives: djgpp-workers/2001/02/10/08:50:42
> From: "Laurynas Biveinis" <lauras AT softhome DOT net>
> 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?
- Raw text -