From 601e4b936b320e766c0de18d384a92a5750f72b9 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 12 Jun 2021 15:00:52 +0200 Subject: [PATCH] Use new arrow logic in README example config --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d25e86f..681bdf7 100644 --- a/README.md +++ b/README.md @@ -116,17 +116,18 @@ transform = Online-Tests --> ! Vorlesungswerbung --> ! + # Rename folders + Lehrbücher --> Vorlesung + # Note the ">>" arrow head which lets us apply further rules to files moved to "Übung" + Übungsunterlagen -->> Übung + # Move exercises to own folder. Rename them to "Blatt-XX.pdf" to make them sort properly - "Übungsunterlagen/(\d+). Übungsblatt.pdf" -re-> Blätter/Blatt-{i1:02}.pdf + "Übung/(\d+). Übungsblatt.pdf" -re-> Blätter/Blatt-{i1:02}.pdf # Move solutions to own folder. Rename them to "Blatt-XX-Lösung.pdf" to make them sort properly - "Übungsunterlagen/(\d+). Übungsblatt.*Musterlösung.pdf" -re-> Blätter/Blatt-{i1:02}-Lösung.pdf + "Übung/(\d+). Übungsblatt.*Musterlösung.pdf" -re-> Blätter/Blatt-{i1:02}-Lösung.pdf # The course has nested folders with the same name - flatten them - "Übungsunterlagen/(.+?)/\\1/(.*)" -re-> Übung/{g1}/{g2} - - # Rename remaining folders - Übungsunterlagen --> Übung - Lehrbücher --> Vorlesung + "Übung/(.+?)/\\1" -re-> Übung/{g1} [crawl:Bar] type = kit-ilias-web