annoying directory names
DarkYeti at gmx.net
Mon Jan 15 15:04:09 PST 2001
> On Mon, Jan 15, 2001 at 11:14:56PM +0100, Nicholas Dille wrote:
> > so i put that one on hold ... but i ran into the same question
> > and solved it by a perl script that extracted the path from
> > the archive only if there was a single top-level directory which
> > was the same on _all_ lines. otherwise it would fail and require
> > some kind of user interaction ...
> In one script that I wrote (ALFS profile creator ;), I used "-t"
> tar option to
> do exactly that and that worked very well, but the problem was/is, that it
> takes a lot of time with the larger archives. How did you do it?
i simply parsed the tar output and assured that each and every line in
the archive had the same top level directory.
i attached my couple of lines. just have a look. but i did not change a
so quite a lot of this is still specific to my system ...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 602 bytes
Desc: not available
More information about the alfs-discuss