Skip to content

gup includes basedir (last part of, anyway) in archive -- that's unusual vs. 7zip, rar, et al #19

@HansWessels

Description

@HansWessels

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. 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature-reqNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions