Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以下载一个文件,ipfs get hash但它是否也会为文件播种?它还会下载文件的副本并将其保存到我运行我不想要的命令的文件夹中。我只希望文件被切碎并从 .ipfs 播种
ipfs get hash
只要您的守护程序正在运行并且可公开访问,通过您的网关访问的任何文件都将被缓存并可供 p2p 网络的其余部分使用(播种)。
您可以运行ipfs repo gc以清除缓存。
ipfs repo gc
您还可以将不会被垃圾收集的文件添加到本地存储中。您可以使用 来执行此操作ipfs pin {hash},并且可以使用 来查看固定的项目ipfs pin ls。
ipfs pin {hash}
ipfs pin ls