IMP: Moved database to src/data/db and imges to src/data/images
This commit is contained in:
parent
48bf6f2074
commit
0ec8a7590e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user