Created
February 22, 2023 10:47
-
-
Save Maarrk/07acf6a5ed7df024be07256f6da7adbf to your computer and use it in GitHub Desktop.
Convert matching pdf files to eps with Inkscape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$files = Get-ChildItem .\Figure*.pdf | |
foreach ($file in $files) { | |
$outfile = "{0}.eps" -f ($file -Split "\.")[0] | |
C:\"Program Files"\Inkscape\bin\inkscape.com $file --export-type=eps -o $outfile | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment