diff --git a/RUNTIME/REGION.refresh.sh b/RUNTIME/REGION.refresh.sh index 5fb8a77a..4a154058 100755 --- a/RUNTIME/REGION.refresh.sh +++ b/RUNTIME/REGION.refresh.sh @@ -56,8 +56,14 @@ echo "" > ~/ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RSSNODE=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${CLAT}*_${CLON}*/RSS/*.rss.json 2>/dev/null)) + for RSS in ${RSSNODE[@]}; do + echo ${RSS} + done NL=${#RSSNODE[@]} RSSWARM=($(ls ~/.zen/tmp/swarm/*/UPLANET/_${CLAT}*_${CLON}*/RSS/*.rss.json 2>/dev/null)) + for RSS in ${RSSWARM[@]}; do + echo ${RSS} + done NS=${#RSSWARM[@]} TOTL=$((${NL}+${NS})) diff --git a/RUNTIME/SECTOR.refresh.sh b/RUNTIME/SECTOR.refresh.sh index cee3e7ca..454781fc 100755 --- a/RUNTIME/SECTOR.refresh.sh +++ b/RUNTIME/SECTOR.refresh.sh @@ -58,11 +58,22 @@ echo "" > ~/ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RSSNODE=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${SLAT}*_${SLON}*/RSS/*.rss.json 2>/dev/null)) + for RSS in ${RSSNODE[@]}; do + echo ${RSS} + done NL=${#RSSNODE[@]} RSSWARM=($(ls ~/.zen/tmp/swarm/*/UPLANET/_${SLAT}*_${SLON}*/RSS/*.rss.json 2>/dev/null)) + for RSS in ${RSSWARM[@]}; do + echo ${RSS} + done NS=${#RSSWARM[@]} TOTL=$((${NL}+${NS})) + + ## GET ALL RSS json's AND Feed SECTOR TW with it + + + echo "Number of RSS : "${TOTL} echo ${TOTL} > ~/.zen/tmp/${MOATS}/${SECTOR}/N_RSS IPFSPOP=$(ipfs add -q ~/.zen/tmp/${MOATS}/${SECTOR}/N_RSS) diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index 483b4ec7..715102d7 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -64,7 +64,7 @@ mkdir ~/.zen/tmp/${MOATS} ## FORMAT CONTROL WARNING [[ ! -d ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB} || ! -d ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON} ]] \ - && echo ">>> WARNING - UMAP IS BAD FORMAT - PLEASE MONITOR KEY -" \ + && echo ">>> INFO - INTIALIZE UMAP FORMAT - NEW UMAP KEY -" \ && mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON} \ && mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}