From 491ba1c0b3aa9a42e60bed4e6dffa7cad8980f2f Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 4 Sep 2021 00:11:51 +0200 Subject: [PATCH] mediaid could have _ --- zen/tools/autoPINfriends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/tools/autoPINfriends.sh b/zen/tools/autoPINfriends.sh index 8bd86f6..b65f1dc 100755 --- a/zen/tools/autoPINfriends.sh +++ b/zen/tools/autoPINfriends.sh @@ -27,7 +27,7 @@ do # decrypt $astrofile mediakey=$(echo "$astrofile" | cut -d '/' -f 8 ) keytype=$(echo "$mediakey" | cut -d '_' -f 1 ) - mediaid=$(echo "$mediakey" | cut -d '_' -f 2 ) + mediaid=$(echo "$mediakey" | cut -d '_' -f 2- ) g1source=$(echo "$astrofile" | cut -d '/' -f 9 ) ipfsnodesource=$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1source)