Turn IPFS path into multihashes in one API call?

From @mattseh on Sat Jun 18 2016 15:55:20 GMT+0000 (UTC)

If I have /ipfs/(some hash)/a/b/c , is there a way to turn a, b and c into multihashes in one call? This can be done one at a time with calls to object stat, but one call would be nice

Copied from original issue: https://github.com/ipfs/faq/issues/135

From @Kubuxu on Sat Jun 18 2016 16:55:35 GMT+0000 (UTC)

You can use:

 ~  ipfs resolve /ipfs/QmR1AeboA161SNxfSgRYtp264RucPVYcHLradx3kJP2f4o/trooper.jpg             ✘ 

It will resolve recursively until single multihash.

From @mattseh on Sat Jun 18 2016 17:07:44 GMT+0000 (UTC)

I don’t mean a single result, I mean the multihash for every component of the path in one call, A, B and C.

From @Kubuxu on Sat Jun 18 2016 17:28:43 GMT+0000 (UTC)

Then no, there isn’t command like that, you would have to use some script.