Linux command
kdeconnect-cli 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
List devices
kdeconnect-cli --list-available
Pair with device
kdeconnect-cli --pair -d [device-id]
Send file
kdeconnect-cli --share [file] -d [device-id]
Ring device
kdeconnect-cli --ring -d [device-id]
Send SMS
kdeconnect-cli --send-sms "[message]" --destination [number] -d [device-id]
Get battery status
kdeconnect-cli --battery -d [device-id]
说明
kdeconnect-cli controls KDE Connect from the command line. It connects Linux desktops with mobile devices. The tool sends files, notifications, and controls media. It enables phone integration from terminal.
参数
- --list-available
- List available devices.
- --pair
- Pair with device.
- --unpair
- Unpair device.
- -d _DEVICE_
- Target device ID.
- --share _FILE_
- Send file to device.
- --ring
- Ring device.
- --send-sms _MSG_
- Send SMS message.
- --help
- Display help information.
FAQ
What is the kdeconnect-cli command used for?
kdeconnect-cli controls KDE Connect from the command line. It connects Linux desktops with mobile devices. The tool sends files, notifications, and controls media. It enables phone integration from terminal.
How do I run a basic kdeconnect-cli example?
Run `kdeconnect-cli --list-available` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --list-available do in kdeconnect-cli?
List available devices.