diff options
Diffstat (limited to 'android-backup-mtp')
-rwxr-xr-x | android-backup-mtp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android-backup-mtp b/android-backup-mtp index 9eda7b6..0cf04e6 100755 --- a/android-backup-mtp +++ b/android-backup-mtp @@ -18,6 +18,7 @@ PROFILE="$2" SHARED="$HOME/temp/shared/$PHONE/$PROFILE" SYNCED="$HOME/sync/$PHONE/$PROFILE" COMMANDS="go-mtpfs rsync fusermount" +EXCLUDES="--exclude=Music" # Syntax check if [ -z "$PROFILE" ]; then @@ -50,5 +51,5 @@ done # Backup go-mtpfs $SHARED & -time rsync -av --delete $SHARED/ $SYNCED/ +time rsync -av --delete $EXCLUDES $SHARED/ $SYNCED/ fusermount -u $SHARED |