summaryrefslogtreecommitdiff
path: root/scripts/.scripts/sync-phone
blob: 6347779e9e30a6d3a2958f392bae418f84375c7e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
mkdir ~/phone
jmtpfs ~/phone
rsync -vr --ignore-existing ~/music/* ~/phone/SanDisk\ SD\ card/Music/
echo "Synced files, Press enter to unmount"
read
umount ~/phone
rmdir ~/phone