13 lines
107 B
Bash
Executable file
13 lines
107 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
while (( "$#" ))
|
|
do
|
|
|
|
mv ${1} ${1%%-*}
|
|
|
|
shift
|
|
done
|
|
|
|
#./cutname.sh <Ordner>/*-*
|