Skip to content

Instantly share code, notes, and snippets.

@firedynasty
Created April 23, 2022 16:02
Show Gist options
  • Save firedynasty/9d309662428b3e08c1c72cde7a7c52de to your computer and use it in GitHub Desktop.
Save firedynasty/9d309662428b3e08c1c72cde7a7c52de to your computer and use it in GitHub Desktop.
how to use mac as a second screen
function sendtodropbox() {
if [[ $# -eq 0 ]]; then
variable_1=$(cat sendtodropbox.txt)
rclone purge $variable_1
rclone copy . $variable_1
else
fi
}
sendtodropbox.txt has this text only:
dropbox:mac_mirror/screenshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment