Commit Graph

24 Commits

Author SHA1 Message Date
I-Al-Istannen
83b75e8254 syncurl: Sanitize element name on windows if it is used as folder name
Otherwise the name of the course might not be a invalid file name.
2021-02-06 22:53:26 +01:00
I-Al-Istannen
93e6329901 Use the least destructive conflict resolver if there are multiple 2020-12-06 13:28:08 +01:00
Scriptim
83ea15ee83 Use system keyring service for password auth 2020-12-06 13:15:30 +01:00
I-Al-Istannen
75471c46d1 Use credential file 2020-12-05 23:44:09 +01:00
Lucas
1e0343bba6 sync_url: Add username and password args 2020-12-05 23:30:09 +01:00
I-Al-Istannen
57259e21f4 Print download summary in sync_url 2020-12-05 14:09:09 +01:00
I-Al-Istannen
4ce385b262 Treat file overwrite and marked file overwrite differently 2020-12-05 14:03:43 +01:00
I-Al-Istannen
2d64409542 Fix handling of empty args.folder 2020-12-05 13:50:46 +01:00
I-Al-Istannen
fcb3884a8f Add --remote-first, --local-first and --no-delete flags 2020-12-05 13:49:05 +01:00
I-Al-Istannen
9f6dc56a7b Use a strategy to decide conflict resolution 2020-12-02 19:32:57 +01:00
Christophe
6426060804 Fix relative paths bug
Introduced in 74ea039458
2020-12-02 18:40:45 +01:00
Christophe
f3a4663491 Add passive/no_prompt flag 2020-12-02 18:24:07 +01:00
Christophe
ecdbca8fb6 Make sync_url work relative to cwd like sane programs 2020-12-02 18:24:04 +01:00
I-Al-Istannen
cd90a60dee Move "sanitize_windows_path" to PFERD.transform 2020-11-12 20:52:46 +01:00
I-Al-Istannen
a0ae9aee27 Sanitize individual path parts 2020-11-11 09:36:20 +01:00
I-Al-Istannen
1486a63854 Do not collapse directory structure when sanitizing 2020-11-10 22:53:47 +01:00
I-Al-Istannen
4ac51048c1 Use "_" as a replacement for illegal characters 2020-11-10 20:49:14 +01:00
I-Al-Istannen
f2aba970fd [sync_url] Sanitize path names on windows 2020-11-10 17:16:14 +01:00
I-Al-Istannen
0c3f35a2d2 Do not provide a shorthand for "no-videos" 2020-10-30 17:01:10 +01:00
I-Al-Istannen
73c3eb0984 Add option to skip videos in sync_url 2020-10-06 17:20:47 +02:00
I-Al-Istannen
51a713fa04 Allow crawling courses or folders with sync_url
Video folders do not work, if they are passed directly. Their containing
folder must be specified instead.
2020-09-28 20:00:01 +02:00
I-Al-Istannen
74ea039458 Fix a few lint errors and pferd quirks in sync_url 2020-09-28 19:42:59 +02:00
Christophe
be65051f9d Support downloading folders in get-by-url script 2020-09-28 18:16:33 +02:00
Christophe
3387bc5f20 Add simple course-download-by-url script 2020-09-28 17:49:36 +02:00