dot/scripts/sync-phone
2021-10-09 22:20:41 +01:00

9 lines
189 B
Bash
Executable file

#!/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