dnd5-scripts/merge_markdown.bat
2026-06-17 22:32:48 +03:00

5 lines
343 B
Batchfile

@echo off
powershell -NoProfile -Command "Get-ChildItem -Path $PWD -Recurse -Filter *.md | ForEach-Object { '# ' + $_.FullName; Get-Content $_.FullName -Encoding utf8; '' } | Set-Content -Path \"$PWD\merged.md\" -Encoding utf8"
echo Объединение завершено, файл merged.md создан в UTF-8 кодировке.
pause