Home » Posts tagged 'Bash'
Tag Archives: Bash
Unfortunately ps2pdf doesn’t allow that. But with a script as simple as that it will convert all ps files in your working directory into pdf and delete the original files:
#!/bin/bash filelist=`(find . -name \*.ps)` for i in $filelist; do ps2pdf $i rm $i echo 'Converted $i into pdf, deleted original file.' done