Skip to content

Instantly share code, notes, and snippets.

@marques576
Created April 3, 2024 23:00
Show Gist options
  • Save marques576/7ccd1eb45b6a1762c8a7b12133e622fe to your computer and use it in GitHub Desktop.
Save marques576/7ccd1eb45b6a1762c8a7b12133e622fe to your computer and use it in GitHub Desktop.
Convert all files in a dir from .pdf to .eps
for file in *.pdf; do
filename=$(basename "$file" .pdf)
pdf2ps "$file" "$filename.eps"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment