mirror of https://github.com/CrimsonTome/tldr.git
37 lines
880 B
Markdown
37 lines
880 B
Markdown
|
# kdeconnect-cli
|
||
|
|
||
|
> KDE Connect CLI.
|
||
|
> More information: <https://kdeconnect.kde.org>.
|
||
|
|
||
|
- List all devices:
|
||
|
|
||
|
`kdeconnect-cli --list-devices`
|
||
|
|
||
|
- List all reachable devices:
|
||
|
|
||
|
`kdeconnect-cli --list-available`
|
||
|
|
||
|
- Request pairing with a specific device, specifying its ID:
|
||
|
|
||
|
`kdeconnect-cli --pair --device {{device_id}}`
|
||
|
|
||
|
- Request pairing with a specific device, specifying its name:
|
||
|
|
||
|
`kdeconnect-cli --pair --name {{device_name}}`
|
||
|
|
||
|
- Ring a specific device:
|
||
|
|
||
|
`kdeconnect-cli --ring --name {{device_name}}`
|
||
|
|
||
|
- Send an SMS with an optional attachment to a specific number:
|
||
|
|
||
|
`kdeconnect-cli --name {{device_name}} --send-sms {{message}} --destination {{phone_number}} --attachment {{path/to/file}}`
|
||
|
|
||
|
- Unlock a specific device:
|
||
|
|
||
|
`kdeconnect-cli --name {{device_name}} --unlock`
|
||
|
|
||
|
- Simulate a key press on a specific device:
|
||
|
|
||
|
`kdeconnect-cli --name {{device_name}} --send-keys {{key}}`
|