wiederholugn regexp bash config scripting cp `find . -name "*.jpg"` neuer_ordner for FILE in *.JPG do NEWFILE2=`echo "$FILE" | sed 's/.(*)/\-/'` echo "$NEWFILE2" mv "$FILE" "$NEWFILE2" done