RETRIEVING MY OWN DATA FIRST to allow swarm modifications.

This commit is contained in:
qo-op 2021-04-04 21:55:32 +02:00
parent 6c51aa536d
commit 440f0495b0
1 changed files with 8 additions and 7 deletions

View File

@ -38,6 +38,13 @@ touch ~/.zen/A_dead_swarm.txt
## RESET BOOTSTRAP LIST
ipfs bootstrap rm --all > /dev/null 2>&1
########################################################################
########################################################################
echo "******************************************************************"
echo "RETRIEVING MY OWN DATA FROM IPNS TO ~/.zen/ipfs_swarm"
ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$IPFSNODEID
########################################################################
count=1
for ipfsnodeid in $( (ipfs swarm peers | grep -o '[^/]*$' && cat ~/.zen/A_swarm_map.txt | grep -o '[^/]*$' ) | sort | uniq);
do
@ -138,7 +145,7 @@ done
# rm ~/.kodi/userdata/addon_data/plugin.video.vstream/astroport_cache.db
########################################################################
# PUBLISH tiddlywiki WALL OF FRIENDS
# REFRESH tiddlywiki WALL OF FRIENDS
########################################################################
echo "******************************************************************"
echo "### PUBLISH tiddlywiki WALL OF FRIENDS ###"
@ -155,12 +162,6 @@ src=\"http://127.0.0.1:8181/ipns/$ipfsnodeid/.$ipfsnodeid/index.html\">
done
echo "</body></html>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
########################################################################
########################################################################
echo "******************************************************************"
echo "RETRIEVING MY OWN DATA FROM IPNS TO ~/.zen/ipfs_swarm"
ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$IPFSNODEID
# REFRESH IPNS SELF PUBLISH
########################################################################
echo "******************************************************************"