0

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?

LiveWireBT
  • 28,763
blanket_cat
  • 1,514

1 Answers1

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