From cd6a2dca84f630db713100be10c323245ff51e5c Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 29 Oct 2021 16:16:14 +0200 Subject: [PATCH] docs: fix ipfs files cp examples --- core/commands/files.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/commands/files.go b/core/commands/files.go index f081af799fb..3a21d28045b 100644 --- a/core/commands/files.go +++ b/core/commands/files.go @@ -338,12 +338,12 @@ IPFS Content Identifier and then "ipfs files cp" to copy it into MFS: $ ipfs add --quieter --pin=false # ... # ... outputs the root CID at the end -$ ipfs cp /ipfs/ /your/desired/mfs/path +$ ipfs files cp /ipfs/ /your/desired/mfs/path If you wish to fully copy content from a different IPFS peer into MFS, do not forget to force IPFS to fetch to full DAG after doing the "cp" operation. i.e: -$ ipfs cp /ipfs/ /your/desired/mfs/path +$ ipfs files cp /ipfs/ /your/desired/mfs/path $ ipfs pin add The lazy-copy feature can also be used to protect partial DAG contents from