list
8BitSafe-cli [common options] archive list [options] [REPOSITORY]
| positional arguments | description |
|---|---|
| REPOSITORY | repository to list contents of |
| optional arguments | description | default | allowed |
|---|---|---|---|
| -e,--exclude | exclude patterns | - | paths or glob patterns |
| -p, --prefix | only consider archive names starting with this prefix | - | string |
| -g, --glob | only consider archive names matching the glob | - | glob |
| --first | list the first N archives | - | integer |
| --last | list the last N archives | - | integer |
Description
Lists archives in a repo with optional filtering.
Examples
info
- Windows
- Unix
- Remote Storage
List all archives in a local repo:
8BitSafe-cli.exe archive list D:\backups\repo
List all archives that contain the string 'docs'
8BitSafe-cli.exe archive list -g *docs* D:\backups\repo
List all archives in a local repo:
8BitSafe-cli archive list /mnt/tank/backup_repo
List all archives that contain the string 'docs'
8BitSafe-cli archive list -g *docs* /mnt/tank/backup_repo
List all archives in a remote repo:
8BitSafe-cli archive list remote
List all archives that contain the string 'docs'
8BitSafe-cli archive list -g *docs* remote