title: How to get the CID of a folder?
body: <p>The closest and only answer I saw is: <code>ipfs add -r {folder-name}</code></p>
  <p>But it adds the whole folder to IPFS (but you don't want to really add, but simply to get its CID) and displays all CIDs from all files.</p>
  <p>A better command I came with is <code>ipfs add -qr --only-hash {folder-name}</code>, because it only gets the CID instead of adding all the files; but, still, it outputs all CIDs instead of only the folder's CID you want.</p>