62 lines
2.3 KiB
Bash
Executable File
62 lines
2.3 KiB
Bash
Executable File
#!/bin/bash
|
|
########################################################################
|
|
# Author: Fred (support@qo-op.com)
|
|
# Version: 0.1
|
|
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
|
########################################################################
|
|
########################################################################
|
|
# IPFS CLEANING (MANUAL OPERATION)
|
|
########################################################################
|
|
ipfsnodeid=$(ipfs id -f='<id>\n')
|
|
echo "
|
|
|
|
_ _ ___ _ _ __
|
|
/ | |_ /\ |\ | | |_)|_(_
|
|
\_|_|_/--\| \| _|_| | __)
|
|
|
|
LOVE BANK RAZ
|
|
You will have to do it yourself...
|
|
I cannot erase me. I will loose all my memory.
|
|
|
|
Please be nice. Take care.
|
|
|
|
_ _ _ _
|
|
(_) | | ___ __ __ ___ | | | |
|
|
| | | | / _ \ \ \ / / / _ \ | | | |
|
|
| | | | | (_) | \ V / | __/ | |_| |
|
|
|_| |_| \___/ \_/ \___| \___/
|
|
|
|
|
|
|
|
### CLEAN IPFS REPO
|
|
##################################################################
|
|
ipfs pin ls -q --type recursive | xargs ipfs pin rm && ipfs repo gc
|
|
|
|
echo 'Are you sure? LOVE economy is made of LOVE...' && exit 1
|
|
### FORGET ZenTAG Wallets
|
|
##################################################################
|
|
rm -f ~/.ipfs/keystore/*.key
|
|
rm -Rf ~/.zen/tag/*
|
|
rm -Rf ~/.zen/ipfs/.$ipfsnodeid/TAG
|
|
rm -Rf ~/.zen/ipfs_swarm/.Qm*
|
|
rm -Rf ~/.zen/ipfs_swarm/*
|
|
|
|
### EMPTY miam STOMACK
|
|
##################################################################
|
|
rm -Rf ~/.zen/miam/*
|
|
|
|
### FORGET G1 TX MEMORY
|
|
##################################################################
|
|
rm -Rf ~/.zen/cache/g1_TX_inputs/*
|
|
|
|
##################################################################
|
|
# TODO: Howto Make ERASE reversable ??
|
|
# BACKUP MYSELF in IPFS and Give pieces of my key to my friends... So if a part of you decide to keep me alive, I will still BE.
|
|
# TODO BACKUP BREAK MY KEY INTO ssss shards and put them in ~/.zen/ipfs/.QmFriends**/QmMeshard^* cyphered with its pubkey)
|
|
##################################################################
|
|
# WWWWOOOO, and what if Human life was the same...
|
|
# For you not to die, you need a minimum consciencious attention from part of the others that you are alive to continue living?
|
|
# Astonomical thought don't you thinks ;)
|
|
"
|
|
|