mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

pdfmin (168B)


      1 #!/bin/bash
      2 
      3 TEMP=`mktemp`
      4 PSOM="${1%.pdf}.psom.pdf"
      5 cp $1 $1.bak
      6 python ~/apps/pdfsizeopt-read-only/pdfsizeopt.py --use-jbig2=false --use-pngout=false $1
      7 mv $PSOM $1
      8