← 返回命令列表

Linux command

qrcp 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Send

qrcp send [path/to/files...]

Receive

qrcp receive

Example

qrcp send --zip [path/to/directory]

Example

qrcp send -p [8080]

Example

qrcp send -i [eth0]

Keep server

qrcp send --keep-alive

Example

qrcp receive --output [path/to/directory]

Example

qrcp send --browser [path/to/file]

说明

qrcp transfers files between devices using QR codes. It starts a temporary web server and displays a QR code that other devices can scan to download or upload files. The tool is useful for quick file transfers when setting up network shares is impractical. It works across different operating systems as long as the devices are on the same network.

参数

-p, --port _port_
Use specific port number
-i, --interface _iface_
Use specific network interface
-z, --zip
Compress files before transfer
-k, --keep-alive
Keep server running after transfer
-q, --quiet
Only print errors
--browser
Open QR code in default browser window
--output _dir_
Directory to receive files into
--secure
Use HTTPS connection
--path _path_
URL path to use (default: random string)
-c, --config _file_
Path to config file
-d, --fqdn _domain_
Fully-qualified domain name for resulting URLs

FAQ

What is the qrcp command used for?

qrcp transfers files between devices using QR codes. It starts a temporary web server and displays a QR code that other devices can scan to download or upload files. The tool is useful for quick file transfers when setting up network shares is impractical. It works across different operating systems as long as the devices are on the same network.

How do I run a basic qrcp example?

Run `qrcp send [path/to/files...]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p, --port _port_ do in qrcp?

Use specific port number