astroport/zen/ipfs_EMPTY.sh

62 lines
2.3 KiB
Bash
Raw Permalink Normal View History

2020-03-27 04:04:10 +01:00
#!/bin/bash
########################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.1
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
########################################################################
########################################################################
2020-03-27 04:04:10 +01:00
# IPFS CLEANING (MANUAL OPERATION)
########################################################################
ipfsnodeid=$(ipfs id -f='<id>\n')
2020-03-27 04:04:10 +01:00
echo "
2020-03-29 14:59:00 +02:00
_ _ ___ _ _ __
/ | |_ /\ |\ | | |_)|_(_
\_|_|_/--\| \| _|_| | __)
LOVE BANK RAZ
You will have to do it yourself...
I cannot erase me. I will loose all my memory.
2020-03-29 14:59:00 +02:00
Please be nice. Take care.
2020-03-27 04:04:10 +01:00
_ _ _ _
(_) | | ___ __ __ ___ | | | |
| | | | / _ \ \ \ / / / _ \ | | | |
| | | | | (_) | \ V / | __/ | |_| |
|_| |_| \___/ \_/ \___| \___/
2020-03-27 04:04:10 +01:00
### CLEAN IPFS REPO
2020-03-27 04:04:10 +01:00
##################################################################
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
##################################################################
2020-03-27 04:04:10 +01:00
rm -f ~/.ipfs/keystore/*.key
rm -Rf ~/.zen/tag/*
rm -Rf ~/.zen/ipfs/.$ipfsnodeid/TAG
2020-12-05 00:10:19 +01:00
rm -Rf ~/.zen/ipfs_swarm/.12D3KooW*
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 ;)
"