Viewing a response to: @coriander/re-moderators-re-sevcsik-publishing-to-ipfs-20180207t204430166z
just $ ipfs name publish img_test ? ps: can i create directory ?
author | moderators |
---|---|
permlink | re-coriander-re-moderators-re-sevcsik-publishing-to-ipfs-20180207t222122033z |
category | development |
json_metadata | {"tags":["development"],"app":"steemit/0.1"} |
created | 2018-02-07 22:21:21 |
last_update | 2018-02-07 22:21:21 |
depth | 3 |
children | 1 |
last_payout | 2018-02-14 22:21:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 67 |
author_reputation | 251,411,212,123 |
root_title | "Publishing to IPFS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 35,762,853 |
net_rshares | 0 |
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.
author | coriander |
---|---|
permlink | re-moderators-re-coriander-re-moderators-re-sevcsik-publishing-to-ipfs-20180207t224409687z |
category | development |
json_metadata | {"tags":["development"],"app":"steemit/0.1"} |
created | 2018-02-07 22:44:12 |
last_update | 2018-02-07 23:49:36 |
depth | 4 |
children | 0 |
last_payout | 2018-02-14 22:44:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 541 |
author_reputation | 127,229,595 |
root_title | "Publishing to IPFS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 35,766,626 |
net_rshares | 0 |