Forrest logo
back to the ipfs tool

ipfs:tldr:07ed7

ipfs: Display pinned files.
$ ipfs pin ls
try on your machine

The command "ipfs pin ls" is used to list all the hash IDs of files or directories that are currently pinned in the IPFS (InterPlanetary File System) node.

In IPFS, pinning is a concept used to ensure that certain content remains available in the local IPFS node, even if it is not being actively used. Pinning prevents the garbage collector of IPFS from automatically deleting the data from the local node.

When you execute the command "ipfs pin ls", it queries the IPFS node and provides a list of all the pinned content. This list includes the hash IDs of the pinned files or directories, which uniquely identify them on the IPFS network.

By using this command, you can check which content is currently pinned on your IPFS node and ensure that it is persistently stored and accessible.

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