Skip to content

Instantly share code, notes, and snippets.

@maesoser
Created February 29, 2016 09:09
Show Gist options
  • Save maesoser/7919a21e63157e975892 to your computer and use it in GitHub Desktop.
Save maesoser/7919a21e63157e975892 to your computer and use it in GitHub Desktop.
Dropbox script to start your dropbox, sync your folders and close the dropbox client.
dropbox start
output=$(dropbox status)
while [ "$output" != "Actualizado" ]; do
echo "$output"
sleep 2
output=$(dropbox status)
done
echo "$output"
dropbox autostart n
dropbox stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment