#!/bin/sh for each in $1* do echo "Looking at... $each" more $each echo "Tell me about $each:" read INPUT if [ "$INPUT" = "DELETE" ] then echo "OK, into the shitbin..." rm $each else if [ -f .rename ] then echo "And what should the new name be (instead of $each):" read NEWNAME mv $each $NEWNAME echo "$NEWNAME $INPUT" >>.musings else echo "$each $INPUT" >>.musings fi fi done echo "Appending your new crap to .descs...." cat .musings >>.descs /textfiles/ferret