Skip to content
/ zipls Public

A tool that lists all the files in a compressed archive and saves this information to a JSON file.

License

Notifications You must be signed in to change notification settings

Ljzd-PRO/zipls

ZipLs

A practical tool that lists all the files in a compressed archive (zip, rar, 7zip) and saves this information to a JSON file.

Installation

You can use executable files from release page or follow steps below.

  1. (Optional)Prepare a python virtual environment.
  2. Install requirements (requirements.txt).
    • pip install requirements.txt
  3. Run the tool.
    • python -m zipls

Usage

📌 Print files information from zip files

zipls ls [Zip File]...

Example:

zipls ls /path/to/data.zip
zipls ls data.zip data1.zip data2.zip
zipls ls *.zip

📌 Dump files information to a file

zipls dump [Output File] [Zip File]...

Example:

zipls dump ./info.json /path/to/data.zip
zipls dump info.json data.zip data1.zip data2.zip
zipls dump info.json *.zip

📌 Dump JSON Schema of ZipLsInfo

JSON Schema enables the confident and reliable use of the JSON data format.
https://json-schema.org/

zipls schema [Schema File]

Example:

zipls schema ./schema.json

📌 Get All Usage

zipls --help
zipls [COMMAND] --help

Example:

zipls -h
zipls ls -h

📌 ZipLs version

zipls version

License

ZipLs is licensed under BSD 3-Clause.

Copyright © 2024 by Ljzd-PRO.

About

A tool that lists all the files in a compressed archive and saves this information to a JSON file.

Topics

Resources

License

Code of conduct

Stars

Watchers