Last active
April 25, 2020 03:15
-
-
Save npyoung/61132b8e58fa76f16e7b71aa2478d6f0 to your computer and use it in GitHub Desktop.
Sync Gamin Edge 500 to Dropbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Garmin | |
LABEL="GARMIN" /media/noah/GARMIN vfat noauto,sudo 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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