How to clear cache in local storage

I want to clear files that are not pinned to my node

What you’re looking for is referred to as garbage collection. If you’re using go-ipfs, then you can run garbage collection using ipfs repo gc

3 Likes

Thank you very much.

Good!
thank you very much

Web status page still shows “Hosting 1.8 GiB of data”. Clicking that shows “No files here yet!”
It is .ldb files in ~/.ipfs/datastore

# ipfs stats repo
NumObjects: 25
RepoSize:   1906995788

Any ideas how to see these files in human friendly way and select to delete some or all?