16 lines
511 B
Bash
Executable File
16 lines
511 B
Bash
Executable File
#!/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
|
|
##################################################################"
|