forked from axiom-team/astrXbian
Delete "ipfs_swarm" if file structure is evolving... or online only mode
This commit is contained in:
parent
7477059e96
commit
99fc61e184
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue