Nope, as I written above, no directory name, just the hash of it.
When you publish, you specify exactly one hash.
If you want directories, put them in the tree: example:
mkdir -p a/b/c
echo hello > a/b/c/hello.txt
ipfs add -r a
… SOMEHASH
ipfs name publish SOMEHASH
you will then find the CONTENT of a (note that the name of a will not appear anywhere): so you will find the directory b, which includes the directory c, which includes hello.txt
if you modify the content of a, just add it again, and publish the new hash.
Nope, as I written above, no directory name, just the hash of it.
When you publish, you specify exactly one hash.
If you want directories, put them in the tree: example:
you will then find the CONTENT of
a
(note that the name ofa
will not appear anywhere): so you will find the directoryb
, which includes the directoryc
, which includeshello.txt
if you modify the content of
a
, just add it again, and publish the new hash.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit