Forrest logo
back to the ipfs tool

ipfs:tldr:b42c7

ipfs: Unpin a file from the local storage.
$ ipfs pin rm ${hash}
try on your machine

The command "ipfs pin rm ${hash}" is used to remove a file or data from the IPFS (InterPlanetary File System) network. Here's how it works:

  • "ipfs" is the command-line interface utility of IPFS.
  • "pin" is a command used to manage pinned content in IPFS. Pinned content is the data which will not be garbage collected by the IPFS node, meaning it will remain available even if it's not actively being used or requested by anyone.
  • "rm" is the sub-command that is used to remove a file or data from the pinned content of the IPFS node.
  • "${hash}" is a placeholder for the hash or CID (Content Identifier) of the file or data you want to remove. The hash is a unique identifier generated by IPFS for each piece of content, allowing it to be located and retrieved from the network.

So when you execute the command "ipfs pin rm ${hash}", you are telling IPFS to remove the file or data associated with the specified hash from the pinned content on your IPFS node. This means that the file or data will no longer be stored on your node and will not be actively retained by the IPFS network unless other nodes have it pinned.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ipfs tool