$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...
|
||||
ipfs get --output=~/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
|
||||
ipfs get --output=$HOME/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
|
||||
count=1
|
||||
# Search for All peers Nodes. ## TODO: To be changed when Swarm is too big or not expendanding
|
||||
#for id in ./wallets/.Qm*/; # Alternative search
|
||||
|
@ -45,7 +45,7 @@ do
|
|||
count=$((count+1))
|
||||
id=$(echo $id | cut -d '.' -f 3 | cut -d '/' -f 1)
|
||||
echo "Refreshing ~/.zen/ipfs_swarm/.$id"
|
||||
rm -Rf ~/.zen/ipfs_swarm/.$id
|
||||
$MY_PATH/tools/timeout.sh -t 10 ipfs get --output=~/.zen/ipfs_swarm/ /ipns/$id
|
||||
rm -Rf $HOME/.zen/ipfs_swarm/.$id
|
||||
$MY_PATH/tools/timeout.sh -t 10 ipfs get --output=$HOME/.zen/ipfs_swarm/ /ipns/$id
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue