Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.32 KB

README.md

File metadata and controls

70 lines (45 loc) · 1.32 KB

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

  • Please open an issue for features or bugs
  • Please Fork and open Pull Requests

Credits

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