Files
Jellyfin-Mods-Automated-Script/test.yaml
2024-12-09 21:56:21 +01:00

31 lines
834 B
YAML

# Zielverzeichnis für Operationen
destination_directory: './web'
# Kopierregeln
copy_rules:
- sources:
- source: './img/icon-transparent.png'
target: './assets/img/icon-transparent.png'
mode: 'replace' # Überschreibt vorhandene Dateien/Ordner
- sources:
- './ui' # Gesamter Ordner/Datei wird in destination_directory kopiert
- source: './img/background.png'
target: './assets/img/background.png'
mode: 'copy' # Kopiert Dateien/Ordner
# Modifikationsregeln
modification_rules:
- file_pattern: 'test..*.txt'
insert_rules:
- after_text: 'This is an after text'
insert_text: ' added after text '
- before_text: 'This is a before text'
insert_text: ' added before text '
- old_text: 'Replace this text'
new_text: 'Replaced text'