gup a test.arj test/corpus/* will assume a de facto basedir of test/: corpus is included as both a directory entry in the archive (file type: DIRECTORY) and is kept as part of the path of the files archives within corpus/.
Also Note
gup also lacks logic to derive a common basedir when fed something like
gup a test.arj dir1/ ../dir2/ /usr/dir3/
What is the common basedir here? That depends on the circumstances AFAIAC, but when pwd = /usr/me/ then the common basedir would sensibly /usr/ and the other paths should be relative paths towards that common base. ... or some such logic...
Currently, gup doesn't do any directory/path normalization, so this is an arena that's still wide open to development. 😉
gup a test.arj test/corpus/*
will assume a de facto basedir oftest/
:corpus
is included as both a directory entry in the archive (file type: DIRECTORY) and is kept as part of the path of the files archives withincorpus/
.Also Note
gup also lacks logic to derive a common basedir when fed something like
gup a test.arj dir1/ ../dir2/ /usr/dir3/
What is the common basedir here? That depends on the circumstances AFAIAC, but when
pwd
=/usr/me/
then the common basedir would sensibly/usr/
and the other paths should be relative paths towards that common base. ... or some such logic...Currently, gup doesn't do any directory/path normalization, so this is an arena that's still wide open to development. 😉