Den 2015-11-04 kl. 23:19, skrev Rick Stevens: > On 11/04/2015 01:53 PM, Jon Ingason wrote: >> I want to make script that copy photos from Samsung Galaxy S6 Edge. I >> can copy photos with the Filer but has not found a way to do this by >> scripting. >> >> Has someone any idea how to do this? Has done some search without >> finding something that works. > > You'll need something like simple-mtpfs (available from the repos) to > mount the phone/tablet as a disk drive, then navigate through that > mountpoint to find where the stuff is. I use it for my S5 phone. > > From that point on, it's up to you to do what you will. My system is Gnome DT and "gvfs-mtp" is installed. I can see the phones files in /run/user/1000/gvfs/mtp\:host\=%5Busb%3A001%2C008%5D/. The problem I am having is that I can't use "cp -a <path/to/files/on/phone> <path/to/dest>" or "rsync -av <path/to/files/on/phone> <path/to/dest>". I can only use Gnome filer manager to copy the file from the phone to the computer. I have installed simple-mtpfs and tried to mount the phones file system to local directory without success. What is the problem? I can't see it :-) > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - > - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - > - - > - I haven't lost my mind. It's backed up on tape somewhere, but - > - probably not recoverable. - > ---------------------------------------------------------------------- -- Regards Jon Ingason -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org