Coder Social home page Coder Social logo

ljzd-pro / zipls Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24 KB

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

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
7z 7zip 7zip-utility cli cli-app python python3 rar zip

zipls's Introduction

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.

zipls's People

Contributors

ljzd-pro avatar

Stargazers

Minn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.