Added current scripts
This commit is contained in:
		
							
								
								
									
										16
									
								
								mount-phone
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								mount-phone
									
									
									
									
									
										Executable 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user