Created
January 17, 2020 08:55
-
-
Save kevinmamaqi/0507a6d3c54130bf3753ca45fd6ef4c8 to your computer and use it in GitHub Desktop.
.SH script to optimize .PDF files in bulk inside a folder. #ghostscript
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
for f in *.pdf | |
do | |
echo $f; | |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=a$f $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment