Navigieren Sie zu einem MTP-Gerät in der Ubuntu BASH-Shell

870
Bachalo

Habe erfolgreich ein MTP-Gerät auf dem Desktop in Ubuntu eingehängt und herausgefunden, wo sich der Mount-Punkt befindet.

Wenn ich / user / 999 / gvfs / mtp ausführen möchte: host =% 5Busb% 3A001% 2C006% 5D $

Ich sehe "SD-Karte"

Das sehe ich aber auch auf dem Desktop.
Wie kann ich die SD-Karte zum Kopieren von Fotos oder Videos verwenden?

Navigieren Sie zu einem MTP-Gerät in der Ubuntu BASH-Shell

3

1 Antwort auf die Frage

3
StandardEyre

Ich glaube, die Antwort, die Sie suchen, ist bereits auf der AskUbuntu Stack Exchange-Site.

Aus diesem Artikel:

the mountpoints are in /run/user/$USER/gvfs/ and are named after the protocol, connection type and address they use. Which makes things  more difficult, because the connection address may change every time  you replug the device, even if it is the same port. If you have the  same device twice it gets even worse. 

Wenn das nicht ausreicht, schlage ich vor jmtpfs. Ich habe es selbst nicht benutzt, aber es klingt, wenn Sie es installieren, würde es tun, was Sie wollen

Aus den yum infoDetails für jmtpfs:

[user@host ~]$ yum info jmtpfs ... Available Packages Name : jmtpfs Arch : x86_64 Version : 0.4 Release : 2.el7 Size : 59 k Repo : epel/x86_64 Summary : FUSE and libmtp based filesystem for accessing MTP devices URL : http://research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/ License : GPLv3 Description : jmtpfs is a FUSE and libmtp based filesystem for accessing MTP (Media : Transfer Protocol) devices. It was specifically designed for exchanging : files between Linux systems and newer Android devices that support MTP : but not USB Mass Storage. :  : The goal is to create a well behaved filesystem, allowing tools like : find and rsync to work as expected. MTP file types are set automatically : based on file type detection using libmagic. Setting the file appears to : be necessary for some Android apps, like Gallery, to be able to find and : use the files. :  : Since it is meant as an Android file transfer utility, the playlists and : other non-file based data are not supported.  [user@host ~]$ 

sehe meine bearbeitete Frage ... Fortschritt aber noch nicht gelöst :( Bachalo vor 7 Jahren 0
hat meine Antwort aktualisiert StandardEyre vor 7 Jahren 0