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,243 times
0
LiveWireBT
- 28,405
- 26
- 107
- 221
blanket_cat
- 1,494
- 1
- 13
- 19
-
possible duplicate of [Where are MTP mounted devices located in the filesystem?](http://askubuntu.com/questions/342319/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
- 1
- 22
- 24