Files
xkm-server/server_999/tools/build/changecshapname.sh
2025-05-21 13:43:08 +08:00

15 lines
159 B
Bash
Executable File

#!/bin/sh
if [ $# -lt 1 ];then
echo "Usage: $0 filename"
fi
if [ ! -e $1 ];then
exit 0
fi
newname=`echo $1 | sed -e "s/Tdr/Pb/g"`
mv $1 $newname