Transférer des fichiers sur le wifi entre votre ordinateur et votre smartphone à partir du terminal
Vous trouverez ici la version la plus mise à jour de qr-filetransfer . Mais si vous voulez la version la plus stable, utilisez pip pour l'installer
Installation mondiale
pip3 install qr-filetransfer[extras]
Installation locale
pip3 install --user qr-filetransfer[extras]
Si vous rencontrez des problèmes pendant l'installation, essayez de supprimer les [extras] facultatifs à la fin de la commande.
# 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.
Remarque: les deux appareils doivent être connectés au même réseau
Sortant
Pour quitter le programme, appuyez simplement sur CTRL+C .
Transférer un seul fichier
$ qr-filetransfer /path/to/file.txtTransférer un répertoire complet. Remarque: le répertoire est zippé avant d'être transféré
$ qr-filetransfer /path/to/directory/Recevez / téléchargez un fichier de votre téléphone vers votre ordinateur
$ qr-filetransfer -r /path/to/receive/file/to/
Inspiré par le projet Go QR-FileTransfer
Licence MIT
Copyright © 2019 Siddharth Dushantha
Contributeur actif - Yu-Chen Lin