Files
doc_phd_thesis/clean_files.bash
T
2018-09-03 02:03:59 +01:00

34 lines
301 B
Bash
Executable File

#!/bin/bash
function clean()
{
PATTERN_LIST="
*.acn
*.acr
*.aux
*.alg
*.gnuploterrors
*.bbl
*.blg
*.fls
*.ist
*.log
*.lof
*lot
*.maf
*.mtc*
*.out
*.tdo
*.toc
*.synctex.gz
*_latexmk
"
for p in $PATTERN_LIST
do
find . -iname "${p}" -exec rm {} \;
done
[[ -d gnuplottex ]] &&rm -R gnuplottex
}
clean