#!/bin/bash [ $# -eq 0 ] && exit 1 GR_FILE=$* KL_FILE=`echo "$GR_FILE"|tr A-Z a-z` if [ "$GR_FILE" != "$KL_FILE" ] then echo "Datei $GR_FILE zu $KL_FILE" if [ -f "${KL_FILE}" ] then echo "Überschreibe Datei $KL_FILE (j/n)" read MIST if [ "$MIST" == "j" ] then mv "$GR_FILE" "$KL_FILE" fi else mv "$GR_FILE" "$KL_FILE" fi fi