Created
September 16, 2017 14:49
-
-
Save flowpoint/d5bc1f0681e2dbbb25b2120d6826a1f3 to your computer and use it in GitHub Desktop.
ipfs_remove_all_pins_script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#delete all ipfs pins script | |
#dont forget chmod | |
a=`ipfs pin ls --type=recursive | awk '{print $1;}' ` | |
for pins in $a | |
do | |
ipfs pin rm $pins | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment