Upload files to kDrive
Project description
Upload files to kDrive - Infomaniak
Installation
python3 setup.py install
Configuration
Create an app password here: https://manager.infomaniak.com/v3/profile/application-password
Then you create a file kdrive-upload.cfg inside current directory, or ~/.config/kdrive-upload.cfg or /etc/kdrive-upload.cfg like this:
[credentials]
username = xxx
password = xxx
You can also export KDRIVE_USERNAME or KDRIVE_PASSWORD environment variables to override these
Usage
$ kdrive-upload --help
usage: kdrive_upload [-h] [--drive DRIVE] [--keep] dest file
Upload to kDrive
positional arguments:
dest destination directory
file file to upload
optional arguments:
-h, --help show this help message and exit
--drive DRIVE
--keep keep files after upload
As you can see, by default it deletes local file after upload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kdrive_upload-0.5.2.tar.gz
(15.5 kB
view hashes)
Built Distribution
Close
Hashes for kdrive_upload-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c1c0a364ecaf9b3bfb479af87bcf36217b4c62fd3cf0ad0c197de8e25215fe2 |
|
MD5 | 14bfbab0ac242d9d16b78edbc9694b3b |
|
BLAKE2b-256 | 0ccd0b04b472b1e99bfac474998d7e5641bc4c43da73ae2afeea953cb889a778 |