aviaryan / utility-bash-scripts

🤓 Useful bash scripts to do automatable tasks with a single command
MIT License
419 stars 66 forks source link

Add extract script #9

Closed mateossh closed 5 years ago

mateossh commented 5 years ago

I added script which allows to extract any archive using one command. File is already marked as executable 2018-10-09-t-screenshot

aviaryan commented 5 years ago

7Zip can support all these formats single-handedly. So, it would be great if we can use it to handle all types of extractions. What do you think?

https://www.7-zip.org/

mateossh commented 5 years ago

In my opinion it's not clever idea since all dependency except rar and 7z are included in every UNIX

aviaryan commented 5 years ago

You are right. I didn't consider that. But what would you say about using 7zip for rar? rarlab (WinRAR) is not open source and some parts of it is under commercial license as well. I am sure developers (who will use this script) will prefer 7z over unrar binary.

mateossh commented 5 years ago

Oh, I didn't know that. This idea sounds good. I will change that

mateossh commented 5 years ago

I changed this extracting method, you can merge now :)

aviaryan commented 5 years ago

Thanks a lot.