repo.or.cz
/
Torque-3d.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2240 from GarageGames/Release_3_10_1
[Torque-3d.git]
/
Templates
/
Full
/
DeleteCachedDTSs.command
blob
f497316e0b703deef133131af73feee93e46dc78
1
#!/bin/sh
2
3
cd
"`dirname "
$0
"`"
4
5
for
i
in
$
(
find
.
-type
f \
(
-iname
"*.dae"
\
))
6
do
7
len
=
$
((
${#i}
-
4
))
8
file
=
${i:0:$len}
.cached.dts
9
if
[
-e
$file
]
10
then
11
echo
"Removing
${file}
"
12
rm
$file
13
fi
14
done
15