docs: Version 1.2.1, Dokumentation und Man-Page aktualisieren
- Versionsnummer auf 1.2.1 hochgesetzt - Man-Page: NO_COLOR Umgebungsvariable dokumentiert (ENVIRONMENT-Abschnitt) - Man-Page: Konfigurationsreihenfolge mit Prioritäten korrigiert - Man-Page: --no-color Beschreibung um NO_COLOR-Referenz ergänzt - README: Hilfe-Ausgabe aktualisiert (fehlende Optionen: -r, --max-depth, -s, -L, --conf, --no-color) - README: NO_COLOR Hinweis in deutsch und englisch ergänzt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a72dae1a60
commit
92a3d66645
4 changed files with 57 additions and 32 deletions
58
README.md
58
README.md
|
|
@ -338,21 +338,28 @@ Ein Tool zum Anpassen von Verzeichnis- und Dateinamen an Linux-Konventionen
|
|||
Usage: ntu [OPTIONS] [PATHS]...
|
||||
|
||||
Arguments:
|
||||
[PATHS]... Pfade (Dateien und Verzeichnisse) zum rekursiven Anpassen
|
||||
[PATHS]... Pfade (Dateien und Verzeichnisse) zum rekursiven Anpassen
|
||||
|
||||
Options:
|
||||
-q, --quiet Ausgaben unterdrücken (keine Umbenennungsinfos auf stdout)
|
||||
-n, --dry-run Nur anzeigen, aber keine realen Änderungen vornehmen (dry-run)
|
||||
-f, --force Existierende Dateien überschreiben
|
||||
-e, --exclude <PATTERN> Zu ignorierende Muster (-e "*.py", mehrere können angegeben werden)
|
||||
-v, --verbose Ausführliche Debug-Informationen
|
||||
--modify-root Erlaubt, auch das Wurzelverzeichnis anzupassen
|
||||
--special Auch symbolische Links und Special Files verarbeiten
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
|
||||
--conf <FILE> Explizite Konfigurationsdatei (bypassed Standard-Hierarchie)
|
||||
-r, --recursive Rekursive Verarbeitung von Unterverzeichnissen aktivieren
|
||||
--max-depth <N> Maximale Rekursionstiefe (erfordert --recursive)
|
||||
-s, --sequence <NAME> Wählt eine Transformations-Sequenz aus (default, lower, upper, minimal, utf-8)
|
||||
-L Listet alle verfügbaren Sequences auf
|
||||
-q, --quiet Ausgaben unterdrücken (keine Umbenennungsinfos auf stdout)
|
||||
-n, --dry-run Nur anzeigen, aber keine realen Änderungen vornehmen (dry-run)
|
||||
-f, --force Existierende Dateien überschreiben
|
||||
-e, --exclude <PATTERN> Zu ignorierende Muster (-e "*.py", mehrere können angegeben werden)
|
||||
-v, --verbose Ausführliche Debug-Informationen
|
||||
--modify-root Erlaubt, auch das Wurzelverzeichnis anzupassen
|
||||
--special Auch symbolische Links und Special Files verarbeiten
|
||||
--no-color Deaktiviert farbige Ausgabe
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
Farbige Ausgabe kann auch über die Umgebungsvariable `NO_COLOR` deaktiviert werden (siehe https://no-color.org/).
|
||||
|
||||
### Usage of NameToUnix
|
||||
|
||||
```text
|
||||
|
|
@ -361,21 +368,28 @@ A tool for adapting directories and file names to Linux conventions
|
|||
Usage: ntu [OPTIONS] [PATHS]...
|
||||
|
||||
Arguments:
|
||||
[PATHS]... Paths (files and directories) for recursive customization
|
||||
[PATHS]... Paths (files and directories) for recursive customization
|
||||
|
||||
Options:
|
||||
-q, --quiet Suppress output (no renaming info on stdout)
|
||||
-n, --dry-run Only display, but do not make any real changes (dry-run)
|
||||
-f, --force Overwrite existing files
|
||||
-e, --exclude <PATTERN> Patterns to be ignored (-e "*.py", several can be specified)
|
||||
-v, --verbose Detailed debug information
|
||||
--modify-root Allows you to customize the root directory as well
|
||||
--special Also process symbolic links and special files
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
|
||||
--conf <FILE> Explicit config file (bypasses default hierarchy)
|
||||
-r, --recursive Enable recursive processing of subdirectories
|
||||
--max-depth <N> Maximum recursion depth (requires --recursive)
|
||||
-s, --sequence <NAME> Select a transformation sequence (default, lower, upper, minimal, utf-8)
|
||||
-L List all available sequences
|
||||
-q, --quiet Suppress output (no renaming info on stdout)
|
||||
-n, --dry-run Only display, but do not make any real changes (dry-run)
|
||||
-f, --force Overwrite existing files
|
||||
-e, --exclude <PATTERN> Patterns to be ignored (-e "*.py", several can be specified)
|
||||
-v, --verbose Detailed debug information
|
||||
--modify-root Allows you to customize the root directory as well
|
||||
--special Also process symbolic links and special files
|
||||
--no-color Disable colored output
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
Colored output can also be disabled via the `NO_COLOR` environment variable (see https://no-color.org/).
|
||||
|
||||
## Test
|
||||
|
||||
Im Verzeichnis [***./test***](./test) gibt es ein bash-Skript [***create_test_tree.sh***](test/create_test_tree.sh), das lokal 21 Test-Verzeichnisse und 400 Dateien mit skurrilen Zufallsnamen erzeugt. Damit kannst Du ***NameToUnix*** ausprobieren:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue