Skip to content

Instantly share code, notes, and snippets.

@npyoung
Last active April 25, 2020 03:15
Show Gist options
  • Save npyoung/61132b8e58fa76f16e7b71aa2478d6f0 to your computer and use it in GitHub Desktop.
Save npyoung/61132b8e58fa76f16e7b71aa2478d6f0 to your computer and use it in GitHub Desktop.
Sync Gamin Edge 500 to Dropbox
# Garmin
LABEL="GARMIN" /media/noah/GARMIN vfat noauto,sudo 0 0
MPT="/media/$USER/GARMIN"
TGT="$HOME/Dropbox/Garmin Backup"
rm -r $MPT
rsync -av --ignore-existing "$MPT/Garmin/Activities/" "$TGT/" &&
umount $MPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment