How to retrieve all the CIDs of the files inside a folder pinned in pinata

Hi everyone, I’ve uploaded a folder with 10 images in it. How can I retrieve the CIDs of those images? I need the list of all the CIDs, how can I retrieve them using the pinata sdk?
Thanks everyone

ipfs ls Qmfoo

Replace Qmfoo by your directory CID.

1 Like

Thanks Jorropo, you’re always really helpful and useful. Have a nice day :). I’ll let you know if this worked as intended

Hi Jorropo! It worked like a charm.
A note, I had to start my daemon with

ipfs daemon

and then I did

ipfs ls <CID>

Thank you really much, have a great day. :slight_smile:

1 Like