Forked from AbdullahALRashdan/Cybertalents-f100.
This script only works with single files that have been compressed multiple times, each time compressed as a single file.
The script will end once multiple files were detected.
-
Make sure to install required data compression tools:
sudo apt-get install ppmd kgb arj rzip bzip2 cabextract nomarch zoo
Note: You may need to installppmdandzoopackages manually. -
Download extract.py to your directory of choice, then create a child directory (e.g.:
extracted/) and copy your archive file there with no other files.
.
├── extract.py
└── extracted/
└── your_archive
-
Set the value of
pathin extract.py to your new directory name (default ispath = "extracted"). -
Run
./extract.py.