mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 18:00:31 +00:00
Update cheatsheets
This commit is contained in:
29
jmtpfs
Normal file
29
jmtpfs
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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 --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}}`
|
||||
Reference in New Issue
Block a user