Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
shrink size of a pdf file terminal edition
read -e -p "Please insert file: " file
if test -e $file
then pdf2ps $file && ps2pdf $file-small.pdf && rm
else echo "File not found!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.