Forrest logo
back to context overview

ipfs

List of commands for ipfs:

  • ipfs:tldr:07ed7 ipfs: Display pinned files.
    $ ipfs pin ls
    try on your machine
    explain this command
  • ipfs:tldr:205f4 ipfs: Save a remote file and give it a name but not pin it.
    $ ipfs get ${hash} -o ${filename}
    try on your machine
    explain this command
  • ipfs:tldr:2a760 ipfs: Add a directory and its files recursively from local to the filesystem and print the relative hash.
    $ ipfs add -r ${path-to-directory}
    try on your machine
    explain this command
  • ipfs:tldr:501d9 ipfs: Add a file from local to the filesystem, pin it and print the relative hash.
    $ ipfs add ${filename}
    try on your machine
    explain this command
  • ipfs:tldr:5c8c0 ipfs: Remove unpinned files from local storage.
    $ ipfs repo gc
    try on your machine
    explain this command
  • ipfs:tldr:81ee5 ipfs: Pin a remote file locally.
    $ ipfs pin add ${hash}
    try on your machine
    explain this command
  • ipfs:tldr:b42c7 ipfs: Unpin a file from the local storage.
    $ ipfs pin rm ${hash}
    try on your machine
    explain this command
back to context overview