mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
16 lines
214 B
Plaintext
16 lines
214 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
cd "`dirname "$0"`"
|
||
|
|
|
||
|
|
for i in $(find . -type f \( -iname "*.dae" \))
|
||
|
|
do
|
||
|
|
len=$((${#i} - 4))
|
||
|
|
file=${i:0:$len}.cached.dts
|
||
|
|
if [ -e $file ]
|
||
|
|
then
|
||
|
|
echo "Removing ${file}"
|
||
|
|
rm $file
|
||
|
|
fi
|
||
|
|
done
|
||
|
|
|