I enabled MTP on the Nexus 7 and Nautilus registers it and lets me browse the files, but ls /media/usbdrive/
shows me nothing. How do I mount it in such a way that I can explore the device's internal storage from the command line?
Asked
Active
Viewed 1,257 times
0

LiveWireBT
- 28,763

blanket_cat
- 1,514
-
possible duplicate of Where are MTP mounted devices located in the filesystem? – LiveWireBT Aug 19 '14 at 07:07
-
These devices use the MTP protocol and are handled different to general USB massstorage. – LiveWireBT Aug 19 '14 at 07:09
-
You are correct, That is the answer I was looking for. Danke. – blanket_cat Aug 19 '14 at 07:21
1 Answers
1
I had good experiences with go-mtpfs, which is a FUSE based file system.
Create a mount point, by default /media/MyAndroid
:
sudo mkdir /media/MyAndroid
sudo chown <user> /media/MyAndroid
Once this is done, mount your android device with
go-mtpfs /media/MyAndroid
To unmount, kill the go-mtpfs
process followed by
fusermount -u /media/MyAndroid
There are Ubuntu packages available in a PPA

kynan
- 2,207