ipfs

ipfs

TLDR

Add a file from local to the file system, pin it and print the relative hash

>_ ipfs add [filename]
copy

Add a directory and its files recursively from local to the file system and print the relative hash

>_ ipfs add -r [directory]
copy

Save a remote file and give it a name but not pin it

>_ ipfs get [hash] -o [filename]
copy

Pin a remote file locally

>_ ipfs pin add [hash]
copy

Display pinned files

>_ ipfs pin ls
copy

Unpin a file from the local storage

>_ ipfs pin rm [hash]
copy

Remove unpinned files from local storage

>_ ipfs repo gc
copy

Copied to clipboard
free 100$ digital ocean credit