IDG Contributor Network: EZ file extraction on Unix
The only thing that's really hard about extracting from archives on Unix systems is remembering all of the commands and the required options.
When you have ten or more possible archive types and could encounter any of them, you just might run out of space in your frontal cortex and need to restore to searching online for some examples of the correct syntax to use. One way to get past this problem is to stuff all the commands you might ever need into a script and make sure the script is clever enough to use the right command for any archive that you are likely to ask it to handle.
In the script presented below, we're going to do several things:
To read this article in full or to leave a comment, please click here