xvoland / Extract

Bash/Zsh function for extract: .zip, .rar, .bz2, .gz, .zlib, .tar, .tbz2, .tgz, .Z, .7z, .xz, .exe, .tar.bz2, .tar.gz, .tar.xz, etc.
MIT License
472 stars 82 forks source link

Clear error messages and fixed unzip extraction on wrong folder #17

Closed marcospb19 closed 4 years ago

marcospb19 commented 5 years ago

Also removed unnecessary else statement, removing one indent level

Changed "|" for spaces for readability

xvoland commented 4 years ago

we cannot create a directory if it's not provided by the archive structure

marcospb19 commented 4 years ago

Why can't we?

This just makes the usage of extract vary in an unwanted way.

The user wil need to decorate what happens with each extension file.