scripts

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

commit 52e723819fc407c360d39b5a211e7674f3c70f78
parent 78784291ef3cef4337462528f194533fd6a1d3d5
Author: sin <sin@2f30.org>
Date:   Fri Jun 28 15:37:27 +0100

Add stripjpeg

Diffstat:
stripjpeg | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/stripjpeg b/stripjpeg @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ ! $# -eq 1 ]; then + echo "usage: $(basename $0) <jpeg>" 2>&1 + exit 1 +fi + +jpegtran -copy none -outfile $1.tmp $1 && + mv $1.tmp $1