Skip to content

Instantly share code, notes, and snippets.

View benboecker's full-sized avatar

Ben Böcker benboecker

View GitHub Profile
#!/bin/sh
# Takes filename as parameter.
file=$1
if [ -z "$file" ]
then
echo "<png_file> argument not specified."
exit 1
elif [ ! -f "$file" ]