optimierungen
This commit is contained in:
parent
c41d2aa032
commit
b1e072678f
1 changed files with 1 additions and 4 deletions
|
@ -5,12 +5,9 @@ set -x
|
|||
while (( "$#" ))
|
||||
do
|
||||
|
||||
FILENAME=${1%%-*}
|
||||
|
||||
mv ${1} ${FILENAME}
|
||||
mv ${1} ${1%%-*}
|
||||
|
||||
shift
|
||||
cd -
|
||||
done
|
||||
|
||||
#./cutname.sh <Ordner>/*-*
|
||||
|
|
Loading…
Reference in a new issue