Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/graphprotocol/ipfs-sync
Script to sync files from one IPFS node to another
https://github.com/graphprotocol/ipfs-sync
Last synced: 4 days ago
JSON representation
Script to sync files from one IPFS node to another
- Host: GitHub
- URL: https://github.com/graphprotocol/ipfs-sync
- Owner: graphprotocol
- License: mit
- Created: 2019-09-20T13:09:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T14:00:48.000Z (9 months ago)
- Last Synced: 2024-12-15T19:09:21.960Z (7 days ago)
- Language: JavaScript
- Size: 83 KB
- Stars: 47
- Watchers: 20
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ipfs-sync
Script to sync files from one IPFS node to another.
## **DEPRECATED** This repository is deprecated now as the code was rewriten to golang and was renamed to accomodate more features related to IPFS. The new code is here [ipfs-mgm](https://github.com/graphprotocol/ipfs-mgm)
## Install
```sh
npm install -g @graphprotocol/ipfs-sync
```## Usage
Transfer _all_ files from one IPFS node to another:
```sh
ipfs-sync sync-files --from --to [--skip-existing]
```Transfer only specific files from one IPFS node to another:
```sh
ipfs-sync sync-files --from --to --file-list [--skip-existing]
```In this case, `` has to be a file with one IPFS hash per line for each
file that should be synced from the `--from` node to the `--to` node.## Docker usage
The Docker image is [graphprotocol/ipfs-sync](https://hub.docker.com/r/graphprotocol/ipfs-sync/).
```sh
docker run -it graphprotocol/ipfs-sync sync-files --from --to [--skip-existing]
```