Version 0.2.2

This commit is contained in:
FliegendeWurst 2020-04-24 11:13:31 +02:00
parent 86f24e0f14
commit 5698f1d3dc
3 changed files with 13 additions and 11 deletions

2
Cargo.lock generated
View File

@ -2,7 +2,7 @@
# It is not intended for manual editing.
[[package]]
name = "KIT-ILIAS-downloader"
version = "0.2.1"
version = "0.2.3"
dependencies = [
"error-chain",
"futures-util",

View File

@ -1,6 +1,6 @@
[package]
name = "KIT-ILIAS-downloader"
version = "0.2.1"
version = "0.2.3"
authors = ["FliegendeWurst <2012gdwu@web.de>"]
license = "GPL-2.0"
edition = "2018"

View File

@ -7,7 +7,7 @@ Download content from ILIAS. That includes:
## Installation
Go to the [releases](../../releases/latest) and get the executable for your operating system. Alternatively compile from source:
Go to the [releases](../../releases) and get the executable for your operating system. Alternatively compile from source: (to get the latest updates)
```sh
$ git clone https://github.com/FliegendeWurst/KIT-ILIAS-downloader
...
@ -20,22 +20,24 @@ $ cp target/release/KIT-ILIAS-downloader [directory in $PATH]
## Usage
Use `-o ILIAS` to set the download directory and `-j 5` to speed up the download. Username and password have to be provided every time the program is run.
You can put a `.iliasignore` in the output directory to skip some courses/folders/files.
```sh
$ KIT-ILIAS-downloader --help
KIT-ILIAS-downloader 0.2.0
KIT-ILIAS-downloader 0.2.3
USAGE:
KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output <output>
FLAGS:
-f Re-download already present files
-t, --forum Download forum content
-h, --help Prints help information
-n, --no-videos Do not download Opencast videos
-s, --skip-files Do not download files
-V, --version Prints version information
-v Verbose logging (print objects downloaded)
--content-tree Use content tree (slow but thorough)
-f Re-download already present files
-t, --forum Download forum content
-h, --help Prints help information
-n, --no-videos Do not download Opencast videos
-s, --skip-files Do not download files
-V, --version Prints version information
-v Verbose logging (print objects downloaded)
OPTIONS:
-j, --jobs <jobs> Parallel download jobs [default: 1]