scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

stripjpeg (144B)


      1 #!/bin/sh
      2 
      3 if [ ! $# -eq 1 ]; then
      4 	echo "usage: $(basename $0) <jpeg>" 1>&2
      5 	exit 1
      6 fi
      7 
      8 jpegtran -copy none -outfile $1.tmp $1 && mv $1.tmp $1