Decentralized Web Primer

Updated a month ago

Kristjan Grm (@kristjangrm) started discussion #5

2 years ago · 0 comments


so adding directories is only possible with option -r which means recursively?

No description provided.
Matt Zumwalt @flyingzumwalt commented 2 years ago

(for future questions, use, which has a lot more eyes on it. You'll get help faster there.)

Yes, the `-r' flag in `ipfs add -r` command tells IPFS to recursively add sub-directories. There are other ways to add directories, but this is the main way to do it with `ipfs add`

This reminds me that we should create better docs and tutorials for the IPFS files api, which handles some of these things more gracefully. `ipfs add` is the most direct example of how IPFS works, but the IPFS files API is a better abstraction for helping people manage files & directories they've added.

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant