5 lines
343 B
Batchfile
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
|