pac1250

convert svg to pdf

Jan 25th, 2015
250
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. param()
  2. set-alias inkscape "C:\Program Files\Inkscape\inkscape.exe"
  3. Get-ChildItem -Filter *.svg | % {
  4.     $src = $_.FullName
  5.     $dst = $src -replace "\.svg$", ".pdf"
  6.     "inkscape -f $($src) -A $($dst) -T"
  7.     inkscape -f "$($src)" -A "$($dst)" -T
  8. }
  9. Write-Host "done !"
  10. $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
RAW Paste Data