mirror of https://github.com/CrimsonTome/tldr.git
25 lines
510 B
Markdown
25 lines
510 B
Markdown
|
# 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}}`
|