qrcp: Transfer Files Between Desktop and Mobile Devices Over Wi-Fi Scanning A QR Code

qrcp: Transfer Files Between Desktop and Mobile Devices Over Wi-Fi Scanning A QR Code

 

qrcp: Transfer Files Between Desktop and Mobile Devices Over Wi-Fi Scanning A QR Code

qrcp is a command line instrument to switch recordsdata from a desktop to a cell system (and the opposite approach round) over Wi-Fi, by scanning a QR code. It is accessible for Microsoft Home windows, macOS and Linux.

The appliance binds an internet server to the tackle of your Wi-Fi community interface on a random port (although the port may be specified if you would like). When the QR code is scanned, the obtain begins (or you possibly can open the URL scanned by the QR app in an internet browser and the obtain will start then). As soon as the switch is accomplished, the net server is routinely stopped.

For transferring recordsdata from a cell system to a desktop, qrcp serves an internet web page that can be utilized to decide on the recordsdata you need to switch.

Each when transferring recordsdata from a desktop to a cell system and the opposite approach round, a URL is proven within the terminal so you possibly can sort that as a substitute of scanning the QR code if you want.

So what about sending a number of recordsdata directly and even folders? qrcp helps that too – in such instances, it routinely creates a zipper archive of the recordsdata or folders you need to switch, and deletes the zip archive as soon as the switch is accomplished.

To ship a file to a cell system out of your desktop over Wi-Fi, run qrcp with the file as its argument, like this (instance):

qrcp Picture.jpg
Do the identical to ship a folder, e.g. qrcp /path/to/folder.

To ship a number of recordsdata, use (instance):

qrcp Image1.jpg Image2.jpg Image3.jpg
To obtain file from the cell system to your desktop over Wi-Fi, within the present listing, use:qrcp obtain
Or, to obtain the recordsdata in a particular listing:qrcp obtain –output=/path/to/listing
Once you run the obtain command, scanning the QR code in your cell system opens an internet web page that allows you to choose recordsdata out of your cell system to switch them to your desktop on which you ran qrcp.

qrcp: Transfer Files Between Desktop and Mobile Devices Over Wi-Fi Scanning A QR Code

It is value noting that in case you have got a number of community interfaces, the primary time you run qrcp it should ask you to decide on the community interface to make use of for the file switch (the one it is advisable select is often on this type: enp3s0 or eth0).

You may additionally select any (0.0.0.0) because the community interface, during which case the file turns into accessible not solely to everybody on the identical community, but additionally from exterior networks (so long as the port is just not blocked by your firewall or router).

The appliance configuration is saved in a hidden .qrcp.json file within the consumer dwelling listing.

These are the accessible qrcp choices:

$ qrcp –help
Utilization:
qrcp [flags]
qrcp [command]

Accessible Instructions:
config Configure qrcp
assist Assist about any command
obtain Obtain a number of recordsdata
ship Ship a file(s) or directories from this host
model Print model quantity and construct info.

Flags:
-c, –config string path to the config file, defaults to $HOME/.qrcp
-d, –fqdn string fully-qualified area identify to make use of for the ensuing URLs
-h, –help assist for qrcp
-i, –interface string community interface to make use of for the server
-k, –keep-alive hold server alive after transferring
-l, –list-all-interfaces record all accessible interfaces when selecting the one to make use of
–path string path to make use of. Defaults to a random string
-p, –port int port to make use of for the server
-q, –quiet solely print errors
-z, –zip zip content material earlier than transferring

Use “qrcp [command] –help” for extra details about a command.

Obtain qrcp

qrcp is accessible for Microsoft Home windows, macOS and Linux.

On Linux, it is packaged as a DEB (for Debian, Ubuntu and different Linux distributions based mostly on these, like Linux Mint, Pop!_OS, Zorin OS, Elementary OS, and so forth), RPM (for Fedora, openSUSE, CentOS and many others.). There’s additionally a generic Linux binary that ought to work on any Linux distribution. It is also accessible on AUR for Arch Linux and Manjaro customers.

h/t: atareao.es

python emulator github,claudiodangelis qrcp,til github,github daily,avatarify,avatar github,ipfs key-value store,avatarify google colab

More Stories
Escape Artist’s Guide to Removal VIM – Linux Academy