| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
To run this:
python tar.py --help
usage: tar.py [-h] [-t TARFILE] [-p PATH] [-f FILES] method
TAR file compression/decompression using GZIP.
positional arguments:
method What to do, either 'compress' or 'decompress'
optional arguments:
-h, --help show this help message and exit
-t TARFILE, --tarfile TARFILE
TAR file to compress/decompress, if it isn't specified
for compression, the new TAR file will be named after
the first file to compress.
-p PATH, --path PATH The folder to compress into, this is only for
decompression. Default is '.' (the current directory)
-f FILES, --files FILES
File(s),Folder(s),Link(s) to compress/decompress
separated by ','.
python tar.py compress -f test_folder,test.txt
python tar.py decompress -t test_folder.tar.gz -p extracted
| Back | FazBrowse Home | New Git URL |