#!/bin/sh if [ -z $1 ] ; then echo "Usage: `echo $0` {file}" else if [ -f $1 ] ; then find *tgz \! -newer $1 -exec rm {} \; else echo File does not exist. fi fi