Compressing a .tar
file causes (maybe) undesirable double-wrapping
#668
Labels
bug
Something isn't working
.tar
file causes (maybe) undesirable double-wrapping
#668
Version
0.5.1
Description
When trying to compress a file that is already a
.tar
file using a command like so:ouch c foo.tar foo.tar.zst
, the result is afoo.tar.zst
that contains afoo.tar
, which contains the contents. This behaviour is not customisable and possibly undesirable - the user may want (as I did) afoo.tar.zst
that directly contains the contents offoo.tar
.I think it would be better to prompt the user and/or add a flag to allow the user to specify what to do. The prompt would trigger when all three conditions are met:
.tar
.*.tar.*
.I would like to submit a PR for this if time allows, but it may not. If anyone wants to claim this please go ahead.
The text was updated successfully, but these errors were encountered: