Quick File Transfer with QR code
From time to time, I need to transfer files from computer to my android phone, install apk for example, I can use the app store if the app can be found there, most of the time, the app I need to install is rarely used by other people, thus need to install with apk file, there is no convenient method for transferring apk from Ubuntu to Android until I found this fabulous project qrcp.
Qrcp is a command line tool for file transfer over wifi connection by scanning QR code.
Installation
export GO111MODULE=on
export GOPROXY=https://goproxy.io
go get github.com/claudiodangelis/qrcp
How to use
Using qrcp is rather simple, the use case for apk file transfer is as follows:
The option -k
is needed, use without this will end up with http server closed
after QR code was scanned, it is an open issue, this is a temporary solution
per this comment.
For more usage such as receiving files refer to the Usage section of this project.