../

Windowsでinkscapeを用いてPowerShellから大量のsvgをpngにする

どうやらInkscapeはパターンマッチングなどができないっぽいのでforeachでゴリ押しです

$files = Get-Item *.svg
foreach ($f in $files){
   inkscape.exe --export-type="png" --export-width="512" $f
   echo $f
}

参考

Using the Command Line - Inkscape Wiki