Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##!/bin/sh
- echo 'Convert all PS to PDF in current directory and then crop according to the DAVE
- sizes (5x4in) 1.75,3.5in offset: in standard PS Letter size'
- pwd
- for f in *.ps
- do
- ps2pdf -dEPSCrop "$f"
- done
- for g in *.pdf
- do
- pdfcrop --margins "10 10 10 10" "$g"
- rm "$g"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement