diff --git a/zen/tools/autoPINfriends.sh b/zen/tools/autoPINfriends.sh index 52bcf7d..046cf9c 100755 --- a/zen/tools/autoPINfriends.sh +++ b/zen/tools/autoPINfriends.sh @@ -16,7 +16,7 @@ G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2) # SOURCE: ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/${g1node}/.ipfsid.encrypt (new_file_in_astroport.sh) ## AUTO PIN FRIENDS ACTIVATION -for astrofile in $(ls -alt ~/.zen/ipfs_swarm/.12D*/KEY/*/*/${G1PUB}/.ipfsid.encrypt); +for astrofile in $(ls -dt ~/.zen/ipfs_swarm/.12D*/KEY/*/*/${G1PUB}/.ipfsid.encrypt); do # decrypt $astrofile source=$(echo "$astrofile" | cut -d '/' -f 9 )