'See files previously stored in IPFS

I'm working with IPFS, and have added a couple objects / directories to IPFS.

$ ipfs add -r ipfs/
added <dirHash> ipfs/helloWorld.txt
added <fHash> ipfs
 14 B / 14 B [======================================================================] 100.00%

I've also created a directory with IPFS files:

$ ipfs files mkdir /files

However, my root directory still looks to be unchanged:

$ ipfs ls /ipfs/<rootHash>
<hash1> 1681 about
<hash2> 189  contact
<hash3> 311  help
<hash4> 4    ping
<hash5> 1681 quick-start
<hash6> 1091 readme
<hash7> 1162 security-notes

I can't see either of the folders that I just added, and they're just floating around somewhere in my node. How can I see what I've added to an IPFS node without using the hash given directly, if it doesn't display at the root hash directory? Do I need to keep track of every important hash or I lose my file forever?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source