dot/scripts/sync-phone

10 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