$HOME
This commit is contained in:
parent
9e9f46fb7a
commit
3ce5fe580f
|
@ -36,7 +36,7 @@ _|_| | __) __)\/\//--\| \| | | \|_| | \|___)| |
|
||||||
'
|
'
|
||||||
|
|
||||||
# GET IPNS published wallets from ALL SWARM NODES ## TODO: IF NODES are MISSING, check ./wallets_swarm/.QmNODES...
|
# GET IPNS published wallets from ALL SWARM NODES ## TODO: IF NODES are MISSING, check ./wallets_swarm/.QmNODES...
|
||||||
ipfs get --output=~/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
|
ipfs get --output=$HOME/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
|
||||||
count=1
|
count=1
|
||||||
# Search for All peers Nodes. ## TODO: To be changed when Swarm is too big or not expendanding
|
# Search for All peers Nodes. ## TODO: To be changed when Swarm is too big or not expendanding
|
||||||
#for id in ./wallets/.Qm*/; # Alternative search
|
#for id in ./wallets/.Qm*/; # Alternative search
|
||||||
|
@ -45,7 +45,7 @@ do
|
||||||
count=$((count+1))
|
count=$((count+1))
|
||||||
id=$(echo $id | cut -d '.' -f 3 | cut -d '/' -f 1)
|
id=$(echo $id | cut -d '.' -f 3 | cut -d '/' -f 1)
|
||||||
echo "Refreshing ~/.zen/ipfs_swarm/.$id"
|
echo "Refreshing ~/.zen/ipfs_swarm/.$id"
|
||||||
rm -Rf ~/.zen/ipfs_swarm/.$id
|
rm -Rf $HOME/.zen/ipfs_swarm/.$id
|
||||||
$MY_PATH/tools/timeout.sh -t 10 ipfs get --output=~/.zen/ipfs_swarm/ /ipns/$id
|
$MY_PATH/tools/timeout.sh -t 10 ipfs get --output=$HOME/.zen/ipfs_swarm/ /ipns/$id
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue