16 lines
511 B
Bash
16 lines
511 B
Bash
|
#!/bin/bash
|
||
|
########################################################################
|
||
|
# IPFS CLEANING (MANUAL OPERATION)
|
||
|
########################################################################
|
||
|
echo "
|
||
|
|
||
|
|
||
|
|
||
|
>>> CLEAN IPFS REPO
|
||
|
##################################################################
|
||
|
ipfs pin ls -q --type recursive | xargs ipfs pin rm && ipfs repo gc
|
||
|
rm -f ~/.ipfs/keystore/*.key
|
||
|
rm -Rf ~/.zen/tag/*
|
||
|
rm -Rf ~/.zen/ipfs/.$ipfsnodeid/TAG
|
||
|
##################################################################"
|