jmtpfs

FUSE-based filesystem for accessing MTP devices. More information: <https://manned.org/jmtpfs>.

Install

All systems
curl cmd.cat/jmtpfs.sh
Debian Debian
apt-get install jmtpfs
Ubuntu
apt-get install jmtpfs
image/svg+xml Kali Linux
apt-get install jmtpfs
Fedora
dnf install jmtpfs
Windows (WSL2)
sudo apt-get update sudo apt-get install jmtpfs
Raspbian
apt-get install jmtpfs

FUSE-based filesystem for accessing MTP devices. More information: <https://manned.org/jmtpfs>.

  • Mount an MTP device to a directory:
    jmtpfs path/to/directory
  • Set mount options:
    jmtpfs -o allow_other,auto_unmount path/to/directory
  • List available MTP devices:
    jmtpfs --listDevices
  • If multiple devices are present, mount a specific device:
    jmtpfs -device=bus_id,device_id path/to/directory
  • Unmount MTP device:
    fusermount -u path/to/directory

© tl;dr; authors and contributors