https://github.com/evanito/ipfs-pinata-cleaner
CLI script to clean up duplicate hashes uploaded to Pinata.
https://github.com/evanito/ipfs-pinata-cleaner
ipfs pinata
Last synced: 3 months ago
JSON representation
CLI script to clean up duplicate hashes uploaded to Pinata.
- Host: GitHub
- URL: https://github.com/evanito/ipfs-pinata-cleaner
- Owner: Evanito
- License: mit
- Created: 2020-10-11T22:52:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T00:00:24.000Z (over 5 years ago)
- Last Synced: 2025-01-10T07:47:34.501Z (over 1 year ago)
- Topics: ipfs, pinata
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPFS-Pinata-Cleaner
Python script to clean up duplicate folders uploaded to https://pinata.cloud
## Introduction
Tools such as IPFS Deploy leave a lot of previous hashes uploaded to Pinata.\
This script simply checks your hashes, and only keeps the most recent of files that share the same name.
Add this to your IPFS Deploy deployment pipeline to automate cleanup!
## Usage
From your CLI:\
`python pinata_cleanup.py -a -s -c `
And that's really it!
## Future plans
- Cache to disk old pins for users with a large amount of pins?
- Allow to filter based on a Pinata tag?
- Allow to filter based on a Pinata tag's value?