Lost hash after init

From @metairie on Fri Jan 06 2017 13:50:22 GMT+0000 (UTC)

Hi everybody.
I’m beginning with IPFS.

I started to init 2 servers and add multiple files. Get files from another account. Seems ok , lot of errors but it worked.

I shutdown the machine yesterday, and restart today. My problem is impossible to get my first hash created after the init. My question :

how to find them ? config give a peer id which is not the same
how to browse files I add yesterday ? I assume that I need the lost hash , right?

Thank you all folks.

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

From @lgierth on Fri Jan 06 2017 15:14:53 GMT+0000 (UTC)

You can do ipfs refs local to list the hashes of all objects you have stored locally. Note that this will also include chunks of files bigger than 256 KB.

Does this help?

From @metairie on Fri Jan 06 2017 16:10:26 GMT+0000 (UTC)

humm. I get lot of hashes. hundreds.

Is anybody could reply to my question, is the initial hash is useful ?

From @lgierth on Wed Jan 18 2017 21:36:19 GMT+0000 (UTC)

You can try out the ipfs files commands as a way of keeping track of things you add.

From @Mossfeldt on Thu Feb 23 2017 19:02:40 GMT+0000 (UTC)

I think you should use ipfs pin ls --type=recursive