You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes ouch doesn't choose a good name for the Smart Unpack feature. This seems to happen with filenames with underscores. It doesn't have this problem with filenames with dashes -.
Current Behavior
$ curl --location --remote-name https://github.com/mr-karan/doggo/releases/download/v0.5.5/doggo_0.5.5_darwin_amd64.tar.gz
$ ouch decompress doggo_0.5.5_darwin_amd64.tar.gz
$ ls -l
total 7604
drwxr-x--- 3 dev users 91 Jun 11 18:23 doggo_0.5
-rw-r----- 1 dev users 7785828 Jun 11 18:23 doggo_0.5.5_darwin_amd64.tar.gz
$ curl --location --remote-name https://github.com/go-acme/lego/releases/download/v4.12.1/lego_v4.12.1_linux_amd64.tar.gz
$ ouch decompress lego_v4.12.1_linux_amd64.tar.gz
$ ls -l
total 17064
drwxr-x--- 2 dev users 53 Jun 11 18:33 lego_v4.12
-rw-r----- 1 dev users 17472889 Jun 11 18:33 lego_v4.12.1_linux_amd64.tar.gz
Expected Behavior
I expect the filename minus the compression extensions would be used.
$ curl --location --remote-name https://github.com/mr-karan/doggo/releases/download/v0.5.5/doggo_0.5.5_darwin_amd64.tar.gz
$ ouch decompress doggo_0.5.5_darwin_amd64.tar.gz
$ ls -l
total 7604
drwxr-x--- 3 dev users 91 Jun 11 18:23 doggo_0.5.5_darwin_amd64
-rw-r----- 1 dev users 7785828 Jun 11 18:23 doggo_0.5.5_darwin_amd64.tar.gz
$ curl --location --remote-name https://github.com/go-acme/lego/releases/download/v4.12.1/lego_v4.12.1_linux_amd64.tar.gz
$ ouch decompress lego_v4.12.1_linux_amd64.tar.gz
$ ls -l
total 17064
drwxr-x--- 2 dev users 53 Jun 11 18:33 lego_v4.12.1_linux_amd64
-rw-r----- 1 dev users 17472889 Jun 11 18:33 lego_v4.12.1_linux_amd64.tar.gz
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Version
ouch 0.4.1
Description
Sometimes
ouch
doesn't choose a good name for theSmart Unpack
feature. This seems to happen with filenames with underscores. It doesn't have this problem with filenames with dashes-
.Current Behavior
Expected Behavior
I expect the filename minus the compression extensions would be used.
Additional Information
No response
The text was updated successfully, but these errors were encountered: