ls absolute path

This commit is contained in:
qo-op 2021-04-04 21:56:18 +02:00
parent 440f0495b0
commit 2e2ded777f
1 changed files with 1 additions and 1 deletions

View File

@ -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 )