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"
timestamp=$(date -u +%s%N | cut -b1-13)
echo "REFRESHING /home/$YOU/.zen/ipfs_swarm/ from my SWARM peers"
rm -Rf /home/$YOU/.zen/ipfs_swarm/.12D3KooW*
rm -Rf /home/$YOU/.zen/ipfs_swarm/.Qm*
rm -Rf /home/$YOU/.zen/ipfs_swarm/*
# Delete "ipfs_swarm" if file structure is evolving... or online only mode
#echo "FORGET /home/$YOU/.zen/ipfs_swarm/ from my SWARM peers"
#rm -Rf /home/$YOU/.zen/ipfs_swarm/.*
#rm -Rf /home/$YOU/.zen/ipfs_swarm/*
count=1
for peerline in $(ipfs swarm peers && cat ~/.zen/A_swarm_map.txt);