Transfira arquivos sobre Wi -Fi entre o seu computador e seu smartphone do terminal
Você encontrará a versão mais atualizada do qr-filetransfer aqui. Mas se você quiser a versão mais estável, use pip para instalá -la
Instalação global
pip3 install qr-filetransfer[extras]
Instalação local
pip3 install --user qr-filetransfer[extras]
Se você tiver problemas durante a instalação, tente remover os [extras] opcionais no final do comando.
# 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.
Nota: Ambos os dispositivos precisam estar conectados à mesma rede
Saindo
Para sair do programa, basta pressionar CTRL+C .
Transferir um único arquivo
$ qr-filetransfer /path/to/file.txtTransfira um diretório completo. Nota: O diretório é fechado antes de ser transferido
$ qr-filetransfer /path/to/directory/Receba/carregue um arquivo do seu telefone para o seu computador
$ qr-filetransfer -r /path/to/receive/file/to/
Inspirado no projeto Go QR-FileTransfer
MIT Licença
Copyright © 2019 Siddharth Dushantha
Colaborador ativo - Yu -chen lin