https://github.com/itsayellow/zipls
ls inside of a zip file
https://github.com/itsayellow/zipls
ls python3 zip
Last synced: 11 months ago
JSON representation
ls inside of a zip file
- Host: GitHub
- URL: https://github.com/itsayellow/zipls
- Owner: itsayellow
- License: mit
- Created: 2019-03-15T21:33:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T02:14:56.000Z (over 3 years ago)
- Last Synced: 2025-06-20T07:43:27.350Z (about 1 year ago)
- Topics: ls, python3, zip
- Language: Python
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zipls
ls inside of a zip file (without extracting!)
zipls will produce near-identical output on a zip file as ls would after extracting the zip file into the current directory.
Some of the key ls switches are replicated.
## Installation
Install [pipx](https://github.com/pipxproject/pipx).
```
pip install pipx
```
Install zipls.
```
pipx install git+https://github.com/itsayellow/zipls
```
## Examples
(myzipfile.zip has top-level internal directory of 'topleveldir'):
zipls myzipfile.zip
zipls myzipfile.zip topleveldir
zipls myzipfile.zip 'topleveldir/*'
zipls --color myzipfile.zip 'topleveldir/*'
zipls -F myzipfile.zip 'topleveldir/*'
zipls -l myzipfile.zip 'topleveldir/*'
zipls -lh myzipfile.zip 'topleveldir/*'
zipls -d myzipfile.zip 'topleveldir/*'
zipls -a myzipfile.zip 'topleveldir/*'