From 0ec8a7590e8e36e95f2102ac83b01d5817d1cee2 Mon Sep 17 00:00:00 2001 From: "matthias.lotz" Date: Fri, 17 Oct 2025 22:37:26 +0200 Subject: [PATCH] IMP: Moved database to src/data/db and imges to src/data/images --- scripts/README.md | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index 8000e26..6aa4add 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -40,11 +40,33 @@ python batch_uploader.py ./photos \ --backend http://localhost:5000 \ --chunk-size 10 -# Windows - Absolute Pfade mit Leerzeichen -python batch_uploader.py "C:\Users\lotzm\Nextcloud2\HH DropFolder with quota\=NutzerBildUploads=" \ - --titel "Nextcloud Archive" \ - --name "Lotz M." \ - --verbose +## Windows / WSL: Pfade mit Leerzeichen und Sonderzeichen + +Windows-PowerShell (empfohlen): +```powershell +# Doppelte Anführungszeichen um den kompletten Pfad, Backslashes bleiben unverändert +python batch_uploader.py "C:\Users\lotzm\Nextcloud2\HH DropFolder with quota\=NutzerBildUploads=" --titel "Nextcloud Archive" --name "Lotz M." --verbose +``` + +Windows (CMD) – ohne Anführungszeichen mit Escapes oder mit Anführungszeichen: +```bat +REM Mit Backslashes escapen (CMD): +python batch_uploader.py C:\Users\lotzm\Nextcloud2\HH\ DropFolder\ with\ quota\=NutzerBildUploads= --titel "Nextcloud Archive" + +REM Oder einfacher mit Anführungszeichen: +python batch_uploader.py "C:\Users\lotzm\Nextcloud2\HH DropFolder with quota\=NutzerBildUploads=" --titel "Nextcloud Archive" +``` + +WSL / Linux (bash) – Pfad in /mnt/c/... verwenden, ohne zusätzliche Backslashes in Quotes: +```bash +python3 batch_uploader.py "/mnt/c/Users/lotzm/Nextcloud2/HH DropFolder with quota/=NutzerBildUploads=" --titel "Nextcloud Archive" --name "Lotz M." --verbose +# oder ohne Quotes, mit Backslash-Escapes: +python3 batch_uploader.py /mnt/c/Users/lotzm/Nextcloud2/HH\ DropFolder\ with\ quota/=NutzerBildUploads= --titel "Nextcloud Archive" +``` + +Hinweis: +- Verwende nicht gleichzeitig single-quotes und Backslash-Escapes: in single-quotes werden Backslashes nicht als Escape interpretiert. +- Prüfe mit `ls` (oder Tab-Completion), ob der Pfad exakt existiert, bevor du das Skript startest. # Dry-Run (nur Analyse) - Cross-Platform python batch_uploader.py /photos --dry-run --verbose