Arweave-Auto-Manifest-Update/script.sh

9 lines
623 B
Bash
Raw Normal View History

for i in *; do ardrive upload-file --local-path "$i" --parent-folder-id "000000-insert-your-folder-000000" -w ~/path/to/your/wallet.json; done > rawupload1.txt
python3 path/to/python/simple.py rawupload1.txt zenaku/ output.json
ardrive upload-file --content-type "application/x.arweave-manifest+json" --local-path output-html.json --parent-folder-id "000000-insert-your-folder-000000" -w ~/path/to/your/wallet > output2.txt
ardrive upload-file --content-type "application/x.arweave-manifest+json" --local-path output-xml.json --parent-folder-id "000000-insert-your-folder-000000" -w ~/path/to/your/wallet > output3.txt