Version: 2024-08-12
The terminal command should be:
ipfs add -r -n --cid-version=1 <folder path>
If you have enough disk space, for better experience, you can actually add the folder to the IPFS network:
ipfs add -r --cid-version=1 <folder path>
This tool accepts input in the following format:
added <cid1> <folder name>/<file name1>
added <cid2> <folder name>/<file name2>
...
added <folder cid> <folder name>