Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 906 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 906 Bytes

IPFS Add Folder Build Status

Recursively adds a folder to IPFS.

Usage

npm install -g ipfs-add-folder --ignore-scripts
ipfs-add-folder <project-directory> <ipfs-node-url>

Note: The package must be installed with --ignore-scripts in order for the tool to work properly.

Pinning Files & Folders

If you wish to pin the added files and folders you can use the --pin (or -p) option:

ipfs-add-folder <project-directory> <ipfs-node-url> --pin

Quiet Execution

When the root hash created by the add operation is required for later operations (such as registering it in IPNS), you can use the --quiet (or -q) option:

ipfs-add-folder <project-directory> <ipfs-node-url> --quiet