Skip to content

Instantly share code, notes, and snippets.

@simonharrer
Created March 5, 2012 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonharrer/1977709 to your computer and use it in GitHub Desktop.
Save simonharrer/1977709 to your computer and use it in GitHub Desktop.
Latex cleanup file
rm *.aux
rm *.bbl
rm *.log
rm *.pdf
rm *.pgf
rm *.dvi
rm *.synctex*
rm *.toc
rm *.blg
require "fileutils"
%w{*.aux *.bbl *.log *.pdf *.pgf *.dvi *.synctex* *.toc *.blg}.each do |pattern|
FileUtils.rm Dir.glob(pattern)
end
rm *.aux
rm *.bbl
rm *.log
rm *.pdf
rm *.pgf
rm *.dvi
rm *.synctex*
rm *.toc
rm *.blg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment