This is a loose collection of scripts (win, linux) to download content from the ILIAS e-Learning platform (tested @ TH KÖLN).
https://ilias.th-koeln.de/webdav.php/ILIAS_FH_Koeln/ref_1456968/ /mnt/th/DB2 davfs user,rw,noauto 0 0
5 7-22 * * * bash ~/sync_th.sh >/dev/null 2>&1
run sync at 7:05, 8:05 ..., 22:05 every day
/usr/bin/mount /mnt/th/DB2
rsync --update -raz --exclude 'lost+found' --progress /mnt/th/DB2/ ~/th/DB2/
/usr/bin/umount /mnt/th/DB2
edit values: 'fach', 'ref', 'dl_path', 'p4ssw0rd' and 'campusId'
Eg: DB2: 1456968
- Set username and password
- Place your desired refs in the array refs
- Place the correspoding names in the array names
Eg:
names | refs |
---|---|
AM | 683143 |
SM | 1140868 |