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に触発されました
MITライセンス
Copyright©2019 Siddharth Dushantha
アクティブな寄稿者-Yu -Chen Lin