optimierungen

This commit is contained in:
simono41 2018-12-14 00:52:48 +01:00
parent c41d2aa032
commit b1e072678f

View file

@ -5,12 +5,9 @@ set -x
while (( "$#" )) while (( "$#" ))
do do
FILENAME=${1%%-*} mv ${1} ${1%%-*}
mv ${1} ${FILENAME}
shift shift
cd -
done done
#./cutname.sh <Ordner>/*-* #./cutname.sh <Ordner>/*-*