qr filetransfer
1.0.0
从终端传输计算机和智能手机之间的WiFi文件
您将在此处找到qr-filetransfer的最新版本。但是,如果您想要最稳定的版本,请使用pip安装它
全局安装
pip3 install qr-filetransfer[extras]
本地安装
pip3 install --user qr-filetransfer[extras]
如果您在安装过程中遇到问题,请尝试在命令末尾删除可选的[extras] 。
# clone the repo
$ git clone https://github.com/sdushantha/qr-filetransfer.git
# change the working directory to qr-filetransfer
$ cd qr-filetransfer
# install the requirements
$ pip3 install -r requirements.txt usage: qr-filetransfer [-h] [--debug] [--receive] [--port PORT]
[--ip_addr {192.168.0.105}] [--auth AUTH]
file_path
Transfer files over WiFi between your computer and your smartphone from the
terminal
positional arguments:
file_path path that you want to transfer or store the received
file.
optional arguments:
-h, --help show this help message and exit
--debug, -d show the encoded url.
--receive, -r enable upload mode, received file will be stored at
given path.
--port PORT, -p PORT use a custom port
--ip_addr {192.168.0.105}
specify IP address
--auth AUTH add authentication, format: username:password
--no-force-download Allow browser to handle the file processing instead of
forcing it to download.
注意:两个设备都需要连接到同一网络
退出
要退出程序,只需按CTRL+C 。
传输单个文件
$ qr-filetransfer /path/to/file.txt传输完整的目录。注意:转移之前,目录被拉开
$ qr-filetransfer /path/to/directory/接收/将文件从手机上传到计算机
$ qr-filetransfer -r /path/to/receive/file/to/
受到GO项目QR-FILETRANSFER的启发
麻省理工学院许可证
版权所有©2019 Siddharth Dushantha
主动贡献者-Yu -chen lin