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