[OS X TeX] Delete all processing files

Peter Breitfeld phbrf at t-online.de
Thu Feb 23 10:18:22 CET 2006


Am 23. Feb 2006 um 00:11 schrieb Friedrich Vosberg:

> Morning.
>
> I want to delete automatically or by one click all files except for  
> the tex file and the pdf file after typestting a document. I think  
> the best way would be a button in the pdf preview window of TeXShop  
> to approach that purpose, isn't it?
>
> TIA and kind regards. Friedrich
>

I use a shell-script to do that
---------------><-------------------------
#!/bin/bash
find /Users/brf/tex \( -name '*.aux' -o -name '*.log' -o -name  
'*.dvi' -o -name '*.ps'  \
    -o -name '*.toc' -o -name '*.lof' -o -name '*.out' -o -name  
'*.blg' -o -name '*.bbl' \
    -o -name '*.idx' -o -name '*.ilg' -o -name '*.ind' -o -name  
'*.nav' -o -name '*.snm' \
    -o -name '*.lot' \)  -exec rm -f {} \;
---------------><...........................

Gruß Brf
--
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list