Transfer files over wifi (or) internet from your computer to your mobile device by scanning a QR code without leaving the terminal using node.js
Assuming you have node 6 or above installed on your machine
npm install -g qr-filetransfer
Transfer a single file
qr-filetransfer /path/to/file.txt
Experimental: Transfer a file over internet (https)
qr-filetransfer /path/to/file.txt ---www=true
(or) use Alias
qrf /path/to/file.txt
Transfer multiple files
qr-filetransfer /path/to/file.txt /path/to/Anotherfile.txt
Transfer a full directory. Note: the directory gets zipped before being transferred
qr-filetransfer /path/to/directory
Transfer files and directories Note: gets zipped before being transferred
qr-filetransfer /path/to/directory /path/to/file.txt /path/to/Anotherfile.txt
Instead of installing, you can also use npx
npx qr-filetransfer /path/to/file.txt
- Please open an issue for features or bugs
- Please Fork and open Pull Requests
Inspired from https://github.com/claudiodangelis/qr-filetransfer