I got a problem when I tried to curl add directory to infura, there are 5 files in the folder.
I read infura document but was still confused (https://infura.io/docs/ipfs/post/add)
curl “https://ipfs.infura.io:5001/api/v0/add?pin=true&recursive=true&wrap-with-directory=true” -u “myProjectId:myProjectSecretKey” -X POST -F file=@myFolder/
I tried to replace “myFolder” using “myFolder/1.jpg”, I will get one hash for a file and another hash for the directory so how about my other files in the folder? Do I have to add all of them one by one?