cutname-minetest

This commit is contained in:
simono41 2018-12-14 00:43:11 +01:00
parent e1780a6a4b
commit c41d2aa032

16
cutname.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -x
while (( "$#" ))
do
FILENAME=${1%%-*}
mv ${1} ${FILENAME}
shift
cd -
done
#./cutname.sh <Ordner>/*-*