Delete "ipfs_swarm" if file structure is evolving... or online only mode

This commit is contained in:
qo-op 2021-02-02 01:18:21 +01:00
parent 7477059e96
commit 99fc61e184
1 changed files with 4 additions and 4 deletions

View File

@ -32,10 +32,10 @@ _|_| | __) __)\/\//--\| \| | | \|_| | \|___)| |
echo "I am $IPFSNODEID" echo "I am $IPFSNODEID"
timestamp=$(date -u +%s%N | cut -b1-13) timestamp=$(date -u +%s%N | cut -b1-13)
echo "REFRESHING /home/$YOU/.zen/ipfs_swarm/ from my SWARM peers" # Delete "ipfs_swarm" if file structure is evolving... or online only mode
rm -Rf /home/$YOU/.zen/ipfs_swarm/.12D3KooW* #echo "FORGET /home/$YOU/.zen/ipfs_swarm/ from my SWARM peers"
rm -Rf /home/$YOU/.zen/ipfs_swarm/.Qm* #rm -Rf /home/$YOU/.zen/ipfs_swarm/.*
rm -Rf /home/$YOU/.zen/ipfs_swarm/* #rm -Rf /home/$YOU/.zen/ipfs_swarm/*
count=1 count=1
for peerline in $(ipfs swarm peers && cat ~/.zen/A_swarm_map.txt); for peerline in $(ipfs swarm peers && cat ~/.zen/A_swarm_map.txt);