https://github.com/mafintosh/dat-ls
Small program that lists all the changes in a dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
https://github.com/mafintosh/dat-ls
Last synced: 4 days ago
JSON representation
Small program that lists all the changes in a dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
- Host: GitHub
- URL: https://github.com/mafintosh/dat-ls
- Owner: dat-ecosystem-archive
- License: mit
- Archived: true
- Created: 2016-10-29T11:50:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-05T18:00:16.000Z (over 3 years ago)
- Last Synced: 2025-04-22T21:04:43.559Z (14 days ago)
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 22
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dat - dat-ls - simple cli that lists all the changes in a dat archive (Using Dat / Dat Utilities)
- awesome-dat - dat-ls - simple cli that lists all the changes in a dat archive (Using Dat / Dat Utilities)
README
[](https://dat-ecosystem.org/)
More info on active projects and modules at [dat-ecosystem.org](https://dat-ecosystem.org/)
![]()
---
# dat-ls
Small program that lists all the changes in a dat
```
npm install -g dat-ls
```[](http://travis-ci.org/mafintosh/dat-ls)
## Usage
```
dat-ls
```Here is an example
```
> dat-ls 8a1b6864f290a1204a3fe048ced34865a24f5fdef4ce3753bab613f66636587dDat contains 6 changes
[put] /
[put] LICENSE (1.08 kB, 1 blocks)
[put] README.md (145 B, 1 blocks)
[put] index.js (1.18 kB, 1 blocks)
[put] package.json (648 B, 1 blocks)Total content size: 3.05 kB
```Per default it'll exit after reading the first snapshot of the change feed.
To keep listening for changes use the `--live` flag```
> dat-ls 8a1b6864f290a1204a3fe048ced34865a24f5fdef4ce3753bab613f66636587d --live
```## License
MIT