An open API service indexing awesome lists of open source software.

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

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/*'