Skip to content

Instantly share code, notes, and snippets.

MinGuk QIU MingukQiu

Block or report user

Report or block MingukQiu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dougalsutherland /
Last active Feb 13, 2020
A bash script to clean latex temp files
# Note: you might prefer latexmk -c since latexmk is great. It doesn't clean all of these, but see
exts=".aux .lof .log .lot .fls .out .toc .dvi .bbl .bcf .blg -blx.aux -blx.bib -blx.bib .run.xml .fdb_latexmk .synctex.gz .syntex.gz(busy) .pdfsync .algorithms .alg .loa .thm .nav .snm .vrb .acn .acr .glg .glo .gls .brf .lol .idx .ilg .ind .ist .maf .mtc .mtc0 .pyg .nlo .tdo .xdy .keys"
for x in "${@:-.}"; do
arg=$(echo ${x:-.} | perl -pe 's/\.(tex|pdf)$//')
You can’t perform that action at this time.