qrcp

Transfer files between devices via QR codes

TLDR

Send files or directories
$ qrcp send [path/to/files...]
Receive files
$ qrcp receive
Send with compression
$ qrcp send --zip [path/to/directory]
Use specific port
$ qrcp send -p [8080]
Use specific network interface
$ qrcp send -i [eth0]
Keep server alive
$ qrcp send --keep-alive
Receive files to specific directory
$ qrcp receive --output [path/to/directory]
Open QR code in browser
$ qrcp send --browser [path/to/file]

SYNOPSIS

qrcp [send|receive|config] [-p port] [-i interface] [--zip] [--keep-alive] [files...]

DESCRIPTION

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.

PARAMETERS

-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

INSTALL

brew install qrcp
nix profile install nixpkgs#qrcp

CAVEATS

Devices must be on the same network. Transfer speed depends on network conditions. Large files may take time over WiFi. Firewall may need port access.

HISTORY

qrcp was created by Claudio d'Angelis to simplify file transfers between devices. It eliminates the need for cables, email attachments, or cloud services for quick local transfers.

SEE ALSO

wormhole(1), croc(1), rsync(1)