dot/scripts/sync-phone

10 lines
189 B
Text
Raw Normal View History

2021-10-09 21:20:41 +00:00
#!/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