I have a solution to cleaning up epoc32 quickly. You know, all our programs generated by compiler are put in the epoc32. With time goes by, we should delete it to avoid implied errors, for example, there the old resource files still are, not the new one. It is a problem.
There are 2 ways to solving it.
No 1. Delete the whole epoc32 and get a new original copy, but I really don't recommened it. Because there is another easy and fast way to complete it.
No 2. Use my shell script as the following:
Of course, it is a Linux shell script, you need install Cygwin on Windows. (Note: the base system of Cygwin doesn't include "diff", you need find it by yourself from the kinds of categories during installation.)
find ./epoc32 -name \* > 1
diff -f 0 1 | sed -ne '/^.\//p' | sed -e 's/^.\//rm -f -r \0/' > e.sh
chmod 777 e.sh
rm -f ./1
rm -f ./e.sh
Note: there is a file named "o" above, it is a index file. You need go to where your SDK is installed, for example, "C:\S60\devices\S60_3rd_FP2_SDK_v1.1\" is mine, then execute this command as follwoing on the cygwin:
It will generate the file "0". Copy it into your work dir. In your work dir, there are "epoc32<DIR>", "cleanepoc.sh<Linux Shell Script includes the code above>" and "0<Index File>".
find ./epoc32 -name \* > 0
All is ready, you can enjoy your clean epoc right now. (By the way, the execution of e.sh is a more slower operation.)
Any improvment is appreciated. :)