Mail Archives: djgpp-workers/2001/02/10/09:22:47
> Is it possible automatically leave out a set of
> directories when extracting an archive? 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?
a) If there are 8.3 conflicts (ie foobar123.c and
foobar123-xyzzy.c both exist), you should submit a
patch to the maintainers to get this fixed. Even if
it won't get accepted, you need to make sure they
know about the problem. When I get my system fully
operational (soon now), I plan to do the same for
binutils (which is rife with such conflicts, though
luckily not for files DJGPP needs).
b) Can't you use fnchange.lst to use 'NUL' as new name
for the conflicting files? That would send them to
the bit bucket, wouldn't it? I suppose you'd still
be stuck with the directories, but that's probably
not that bad.
- Raw text -