@graphprotocol/ipfs-sync

0.2.0 • Public • Published

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]

/@graphprotocol/ipfs-sync/

    Package Sidebar

    Install

    npm i @graphprotocol/ipfs-sync

    Weekly Downloads

    10

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    10.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • mitchhs12
    • andras_en
    • migueldeelias
    • saihaj
    • pcarranzav_edgeandnode
    • edge-and-node
    • lnsd
    • neysofu
    • tmigone
    • dotansimha
    • nasmr
    • benface
    • jannispohlmann
    • fordn
    • lutter
    • zerim
    • martintel
    • abarmat
    • jcarpanelli
    • juanmardefago
    • dnfodjo
    • theodus
    • iain_mccown
    • cmwhited
    • adam-en
    • schmidsi