-
-
Notifications
You must be signed in to change notification settings - Fork 62
Change Download Folder
Daniel Vogt edited this page Dec 11, 2023
·
1 revision
Unless otherwise configured, moodle-dl
downloads all course files to the current working directory. This working directory can be changed with the command cd path/in/which/you/want to change
.
The --path PATH
option defines the storage location for the configuration, logs and downloaded files. This option can be appended to all moodle-dl
commands.
There are also two settings which can be specified in the config.json download_path
and misc_files_path
.
-
download_path
: specifies the download path of the files on moodle itself -
misc_files_path
: specifies the path for metadata files of moodle-dl
"download_path": "C:\PATH\TO\DOWNLOAD\LOCATION",
"misc_files_path": "C:\PATH\TO\FILES_LIKE_moodle_state.db_and_Cookies.txt",
So you could use the --path
option to specify in which folder the config.json
is located and then specify within the config.json
in which folder the files should be downloaded (download_path
) and where the local database and other metadata should be stored (misc_files_path
).
- Example Config.json and Options
- Change Download Folder
- Download (external) linked files
- Copy a token from the Moodle app
- Telegram Notification
- Additional Youtube-dl Settings
- Use cookies when downloading
- Download public courses
- Set user id and Moodle version number manually
- Exclude file extensions
- Download password protected external links
- Use of external programs to download external links
- Start Moodle dl periodically or via Telegram