KIT-ILIAS-downloader/README.md

51 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2020-04-21 20:41:28 +00:00
# KIT-ILIAS-downloader
Download content from ILIAS. That includes:
2020-04-21 21:03:30 +00:00
* files (latest version)
2020-04-21 20:41:28 +00:00
* Opencast lectures
## Installation
2020-04-24 09:13:31 +00:00
Go to the [releases](../../releases) and get the executable for your operating system. Alternatively compile from source: (to get the latest updates)
2020-04-21 20:41:28 +00:00
```sh
$ git clone https://github.com/FliegendeWurst/KIT-ILIAS-downloader
...
$ cd KIT-ILIAS-downloader
$ cargo build --release
...
$ cp target/release/KIT-ILIAS-downloader [directory in $PATH]
```
## Usage
2020-04-22 12:11:42 +00:00
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.
2020-04-24 09:13:31 +00:00
You can put a `.iliasignore` in the output directory to skip some courses/folders/files.
2020-04-22 12:11:42 +00:00
2020-04-21 21:03:30 +00:00
```sh
$ KIT-ILIAS-downloader --help
2020-04-24 09:13:31 +00:00
KIT-ILIAS-downloader 0.2.3
2020-04-21 21:03:30 +00:00
USAGE:
2020-04-22 10:21:58 +00:00
KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output <output>
2020-04-21 21:03:30 +00:00
FLAGS:
2020-04-24 09:13:31 +00:00
--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)
2020-04-21 21:03:30 +00:00
OPTIONS:
2020-04-22 10:21:58 +00:00
-j, --jobs <jobs> Parallel download jobs [default: 1]
2020-04-21 21:03:30 +00:00
-o, --output <output> Output directory
```
2020-04-21 20:41:28 +00:00
2020-04-22 13:14:09 +00:00
## Related programs
2020-04-21 20:41:28 +00:00
2020-04-22 13:14:09 +00:00
- https://github.com/brantsch/kit-ilias-fuse (synchronous networking and sometimes (?) truncated downloads)
- https://github.com/Garmelon/PFERD/ (currently in the middle of a rewrite)