Mounting Android tablet in Linux
Installation
Install go-mtpfs
using these instructions.
Mount
Unlock your tablet before mounting it. This won’t work otherwise.
To mount the tablet’s file system as though it were a directory on your file system.
go-mtpfs ~/mnt &
Note: You don’t need to create the directory beforehand.
Use shell commands to copy files:
cp -an foo ~/mnt/whatever
Unmount
Make sure you aren’t visiting the mnt
directory anywhere (in your shell or file browser) before you unmount.
To unmount the device:
fusermount -u ~/mnt
jmtpfs
[2017-08-26 Sat] I now use jmtpfs
because I couldn’t install go-mtpfs
on Ubuntu 14.04.
Don’t use sudo jmtpfs
. Just do:
jmtpfs ~/tablet-mnt
Created: August 19, 2015
Last modified: August 26, 2017
Status: in-progress notes
Tags: notes, shell
comments powered by Disqus