Skip to content

Commit 52a7477

Browse files
authored
docs: fix ipfs files cp examples (#8533)
1 parent 3e43745 commit 52a7477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/commands/files.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,12 @@ IPFS Content Identifier and then "ipfs files cp" to copy it into MFS:
338338
$ ipfs add --quieter --pin=false <your file>
339339
# ...
340340
# ... outputs the root CID at the end
341-
$ ipfs cp /ipfs/<CID> /your/desired/mfs/path
341+
$ ipfs files cp /ipfs/<CID> /your/desired/mfs/path
342342
343343
If you wish to fully copy content from a different IPFS peer into MFS, do not
344344
forget to force IPFS to fetch to full DAG after doing the "cp" operation. i.e:
345345
346-
$ ipfs cp /ipfs/<CID> /your/desired/mfs/path
346+
$ ipfs files cp /ipfs/<CID> /your/desired/mfs/path
347347
$ ipfs pin add <CID>
348348
349349
The lazy-copy feature can also be used to protect partial DAG contents from

0 commit comments

Comments
 (0)