Pinata Cleaning

2 · Kevin Cox · Jan. 9, 2022, 1:29 p.m.
I use Pinata for hosting a number of websites on IPFS. However, due to their double-charging of similar pins, I need to clean up old copies of my sites to avoid high costs. I am just sharing a couple of simple scripts that work for me and could easily be adapted to other simple cleanups.SetupYou need an API key to modify your account. Set up a shell variable with your key:You may want to do something to keep this out of your shell history. For example, I have configured my shell so that I can pr...