On Wed, 23 Feb 2011, Marco wrote:
Do you want [...]
context --purgeall
This will probably be difficult to implement, since the complete directory tree has to be scanned to find xyz-externalfilter-abc-X.___ remains.
Actually, `context --purgeall` deteles all the files with .tmp and .md5 extension in the current directory. Only the .vimout files remain.
However context --purgeall filename
should remove all temporary files belonging to the document like
filename-externalfilter-CON-0.tmp % not removed filename-externalfilter-CON-0.tmp.md5 % not removed filename-externalfilter-CON-0.vimout % not removed
So after the project is done one can run context --purgeall filename to get a clean directory structure without having to archive 30 temporary files.
Why not simply run `context --purgeall` (no filename)? I will check how to ensure that .vimout files are also removed. The t-gnuplot module does something similar. So, perhaps I can borrow code from that. Aditya