diff options
author | David Runge <dave@sleepmap.de> | 2015-03-25 21:16:12 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-03-25 21:16:12 +0100 |
commit | a083d57c9c7e50abc3b4da60e0699e808ee4b13f (patch) | |
tree | a81f5ef6e786a09c9777512db421ff20c36e305e | |
parent | 8dac3a89f76e52704407aa955c2ec086d4257ef3 (diff) | |
download | dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.tar.gz dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.tar.bz2 dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.tar.xz dotfiles-a083d57c9c7e50abc3b4da60e0699e808ee4b13f.zip |
bin/tex2pdf: Switch to smartly deleting all unneeded non-primary tex related files in current directory and the ones below current directory.
-rwxr-xr-x | bin/tex2pdf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/tex2pdf b/bin/tex2pdf index fd99224..71718f0 100755 --- a/bin/tex2pdf +++ b/bin/tex2pdf @@ -30,5 +30,4 @@ mupdf $1.pdf & echo "#####################################################">>$logdestination echo "Removing aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc.">>$logdestination echo "Current directory: $(pwd) and children of depth 1.">>$logdestination -rm -f $1.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} -rm -f */*.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} +rm -f *.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} */*.{aux,bbl,blg,dvi,lof,log,lot,nav,out,snm,toc} |