Great line in bash to decrease file size of PDFs in a folder:
"for file in *.pdf; do gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -q -o resized-$file $file; done"
Thanks #ghostscript
@kzimmermann @kirschner interesting. I also see that /screen shrinks it even more: https://gist.github.com/firstdoit/6390547 But I usually prefer to ditch JPGs altogether and use pdf2djvu. It seems to substantially shrink PDFs with no noticable quality loss. The extra perk is that #djvu is easier to trust (it's just for docs).