13 lines
506 B
Bash
13 lines
506 B
Bash
|
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
|