ib / xarchiver

(continuation of the Xfce master branch)
GNU General Public License v2.0
171 stars 40 forks source link

extracting packages with a ./ root directory dont honor "ensure containing directory" #159

Closed fbrau closed 2 years ago

fbrau commented 2 years ago

For example this archive https://github.com/andrewchambers/bupstash/releases/download/v0.11.1/bupstash-v0.11.1-man.tar.gz

./
./bupstash.1
./bupstash-authors.7
./bupstash-diff.1
./bupstash-exec-with-locks.1
./bupstash-gc.1
./bupstash-get.1
...

I would expect this to be extracted to a containing bupstash-v0.11.1-man/ directory, but they are expanded in the same destiny directory instead

ib commented 2 years ago

Did you select "Ensure a containing directory"?

What version are you using? Which distribution?

fbrau commented 2 years ago

Im using 0.5.4.18 on slackware. I selected the "ensure containing directory"

The option "fails" on packages with a "." root directory. Xarchiver assumes "." is already a "containing directory" but it actually maps to the current directory on the extraction, so in the end there is no containing directory...

Captura_2022-09-07_23-21-09

ib commented 2 years ago

First of all you have to use xarchiver 0.5.4.19. Without sidebar select "Ensure a containing directory", "All Files", "Without parent path".

fbrau commented 2 years ago

It works!! I was so used to the "with full path" option that I forgot to consider the other one. Thanks