mediaid could have _

This commit is contained in:
fred 2021-09-04 00:11:51 +02:00
parent 91bc17d3cb
commit 491ba1c0b3
1 changed files with 1 additions and 1 deletions

View File

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