Skip to content

Instantly share code, notes, and snippets.

@flowpoint
Created September 16, 2017 14:49
Show Gist options
  • Save flowpoint/d5bc1f0681e2dbbb25b2120d6826a1f3 to your computer and use it in GitHub Desktop.
Save flowpoint/d5bc1f0681e2dbbb25b2120d6826a1f3 to your computer and use it in GitHub Desktop.
ipfs_remove_all_pins_script
#!/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