Added current scripts

This commit is contained in:
Allen
2023-07-18 20:55:12 -05:00
parent bb8cac305b
commit 632a408c31
16 changed files with 216 additions and 0 deletions

16
mount-phone Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
umount /mnt/mtp
echo "Make sure all gvfs, gio, kio, kde, mtp dolphin app that may interfere are closed, automate this in the future"
killall dolphin
killall gvfsd
killall gvfsd-fuse
killall kded5
aft-mtp-mount /mnt/mtp &
#echo "once, the phone is connected, can run: rsync -r -t -v --progress -s --ignore-existing '/mnt/ntfs/samsung-1tb/Users/Allen/Music/' '/mnt/mtp/SD card/Documents/Music'"
echo "Using mtp and rsync is slow as fuck, only do this for when all songs are basically already downloaded"
/usr/local/bin/music-backup-to-phone