https://github.com/frando/dat-share-all
Quickly share all dats that are within a folder
https://github.com/frando/dat-share-all
command-line dat dat-protocol
Last synced: 7 months ago
JSON representation
Quickly share all dats that are within a folder
- Host: GitHub
- URL: https://github.com/frando/dat-share-all
- Owner: Frando
- License: mit
- Created: 2017-09-19T19:26:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-10T09:11:58.000Z (over 8 years ago)
- Last Synced: 2025-04-14T15:01:17.100Z (10 months ago)
- Topics: command-line, dat, dat-protocol
- Language: JavaScript
- Size: 13.7 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dat - dat-share-all - quickly share all dats located in a folder from the command-line (Using Dat / Hosting & Dat Management)
README
# dat-share-all
npm install -g dat-share-all
At some folder with multiple dats inside:
dat-share-all --import --watch
Share all dats that are below a directory. Either just share the current state, or watch for file changes and auto-import. Has a curses-style UI to list shared dats and network connections.
The official [dat-cli](https://github.com/dat/dat) shares a single dat (by default the path from where called). With `dat-share-all` you share all dats that are located below a directory.
## Installation
npm install -g dat-share-all
## Usage
Usage: dat-share-all [options] [--dir=]
Share all dats that are located below a directory.
Options:
--import Import file changes in writable dats (default: false).
--watch Watch for file changes in writable dats and import (default: false).
--watchdir Watch for new dats being added and share them (default: false).
--dir= Set the dir from which to look for dats (default: current dir).
--port Set port (default: 3282)
--neat Simple list UI (WIP, not working correctly for many dats).