Arweave-Auto-Manifest-Update/variables-script-version.sh

13 lines
506 B
Bash
Raw Permalink Normal View History

2024-09-22 18:29:24 +00:00
WALLET_FILE="~/path/to/your/wallet.json"
PARENT_FOLDER_ID="000000-insert-your-folder-000000"
LOCAL_PATH=""
CMD="ardrive upload-file --parent-folder-id "$PARENT_FOLDER_ID" -w "$WALLET_FILE" --local-path"
for i in *; do "$CMD" "$i"; done > rawupload1.txt
python3 path/to/python/simple.py rawupload1.txt zenaku/ output.json
"$CMD" output-html.json --content-type "application/x.arweave-manifest+json" > output2.txt
"$CMD" output-xml.json --content-type "application/x.arweave-manifest+json" > output3.txt