Lesson: Pinning - Tell IPFS to Keep a File
目标
步骤
步骤 1:创建你将要添加并固定的文件
$ echo "ipfs rocks" > foo.txt步骤 2:将文件添加到IPFS
$ ipfs add foo.txt
added QmRTV3h1jLcACW4FRfdisokkQAk4E4qDhUzGpgdrd4JAFy foo.txt步骤 3:列出固定到本地存储的对象
$ ipfs pin ls --type=all
QmRTV3h1jLcACW4FRfdisokkQAk4E4qDhUzGpgdrd4JAFy recursive
QmY5heUM5qgRubMDD1og9fhCPA6QdkMp3QCwd4s7gJsyE7 indirect步骤 4:取消固定一个对象
解释
下一步
上一页Lesson: Wrap Filenames and Directory Info around Content下一页Tutorial: Going Online - Joining the Distributed Web
最后更新于