diff --git a/sync_music.sh b/sync_music.sh index 32f44b8..479a520 100755 --- a/sync_music.sh +++ b/sync_music.sh @@ -2,13 +2,13 @@ # Script to sync my Android phone's music library to the contents of my ~/media/music/ directory mountpoint="$HOME/mnt" -source="$HOME/media/music" -destination="$mountpoint/Internal shared storage/Music" +source="$HOME/media/music/" +destination="$mountpoint/Internal shared storage/Music/" mkdir "$mountpoint" aft-mtp-mount "$mountpoint" -rsync --archive --delete "$source" "$destination" +rsync --archive --delete --info=progress2 "$source" "$destination" sync fusermount -u "$mountpoint"