First you're putting your wallet and folders in the Linux script. Then with all the files in the folder you marked in the Linux script, you're running the Linux script which calls upon the python. In the example, it's in the folder "zenaku". But you can change it to a different folder, just put a "/" at the end (no quotes)
8 lines
623 B
Bash
8 lines
623 B
Bash
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
|
|
|