mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
612 B
Plaintext
30 lines
612 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 {{[-l|--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}}`
|