Home

Awesome

qr-filetransfer

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

Build Status

Assuming you have node 6 or above installed on your machine

Install

npm install -g qr-filetransfer

Usage


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

Multi files


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

Contribution

Credits

Inspired from https://github.com/claudiodangelis/qr-filetransfer