Command line utilities for creating zip files
Project description
zip-files
Command line utilities for creating zip files.
Development of zip-files happens on Github.
Installation
To install the latest released version of zip-files, run this command in your terminal:
pip install zip_files
This is the preferred method to install zip-files, as it will always install the most recent stable release. It will result in the executable commands zip-files and zip-folder being added to your environments bin folder.
Usage
zip-files
Usage: zip-files [OPTIONS] [FILES]...
Create a zip file containing FILES.
Options:
-h, --help Show this message and exit.
--version Show the version and exit.
--debug Activate debug logging.
-f, --root-folder TEXT Folder name to prepend to FILES inside the
zip file.
-c, --compression [stored|deflated|bzip2|lzma]
Zip compression method. The following
methods are available: "stored": no
compression; "deflated": the standard zip
compression method; "bzip2": BZIP2
compression method (part of the zip standard
since 2001); "lzma": LZMA compression method
(part of the zip standard since 2006).
[default: deflated]
-o, --outfile TEXT The path of the zip file to be written. By
default, the file is written to stdout.
zip-folder
Usage: zip-folder [OPTIONS] FOLDER
Create a zip file containing the FOLDER.
Options:
-h, --help Show this message and exit.
--version Show the version and exit.
--debug Activate debug logging.
-f, --root-folder TEXT Folder name to use as the top level folder
inside the zip file (replacing FOLDER).
-c, --compression [stored|deflated|bzip2|lzma]
Zip compression method. The following
methods are available: "stored": no
compression; "deflated": the standard zip
compression method; "bzip2": BZIP2
compression method (part of the zip standard
since 2001); "lzma": LZMA compression method
(part of the zip standard since 2006).
[default: deflated]
-o, --outfile TEXT The path of the zip file to be written. By
default, the file is written to stdout.
History
0.1.0 (2020-01-17)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zip_files-0.1.0.tar.gz
(29.9 kB
view hashes)
Built Distribution
Close
Hashes for zip_files-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3424b0406199d90bfd1da893afc04e8ee447122a1fc210a4cb9864c1d83bc9db |
|
MD5 | 8101e24f456414e4c5cf41a6f6a7ccb6 |
|
BLAKE2b-256 | e0dd5722dc680fca5ac9dc3898ab6103221dbac62943708b14d9ef72588067bd |