How to extract multiple archives with a shell script
I had the problem to extract multiple .tar files (all in the same folder). Doing this by hand was kind of annoying and because i like the heuristic not to do same things more then three times, i wrote a little bash script. The script takes the archive type i.e. .tar, .tar.gz as first parameter and then automatically extracts all the archives files, in the given folder, to subdirectories (foldername of created subdirectory is the basename of the file). So here is the code..maybe it could save a little bit of your time.

Letzte Kommentare