Skip to content

Script to sync files from one IPFS node to another

License

Notifications You must be signed in to change notification settings

Kitsumon/ipfs-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipfs-sync

Script to sync files from one IPFS node to another.

Install

npm install -g @graphprotocol/ipfs-sync

Usage

Transfer all files from one IPFS node to another:

ipfs-sync sync-files --from <URL> --to <URL> [--skip-existing]

Transfer only specific files from one IPFS node to another:

ipfs-sync sync-files --from <URL> --to <URL> --file-list <FILE> [--skip-existing]

In this case, <FILE> 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.

docker run -it graphprotocol/ipfs-sync sync-files --from <URL> --to <URL> [--skip-existing]

About

Script to sync files from one IPFS node to another

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.8%
  • Dockerfile 6.2%