#latex #clean #applications #auxiliary #generated #line #command

app latexclean

A command line application to remove auxiliary files generated by LaTeX tools

1 unstable release

0.1.0 Mar 30, 2022

#7 in #auxiliary

MIT license

6KB
74 lines

Latex Clean

This command line application is useful in cleaning the auxiliary files generated by LaTeX tools like latexmk, TexStudio. This program recursively traverses the given folder and deletes the files with extensions in the following blocked list.

List of Extensions removed

  • aux
  • lof
  • log
  • lot
  • fls
  • out
  • toc
  • fmt
  • fot
  • cb
  • cb3
  • lb
  • bbl
  • bcf
  • blg
  • xml
  • fdb_latexmk
  • synctex
  • synctex(busy)
  • pdfsync
  • alg
  • loa
  • nav
  • pre
  • snm
  • vrb
  • acn
  • acr
  • glg
  • glo
  • gls
  • glsdefs
  • lzo
  • lzs
  • slg
  • slo
  • sls
  • nlg
  • nlo
  • nls

Installation

Installation from Crates.io

The program is written completely in Rust, and can be installed using cargo.

To install this program, first install cargo by following the installation steps for your operating system.

Subsequently run the following command to install this crate -

cargo install latexclean

Installation from source

Optionally, you could also install this application directly from source by running the following command

cargo install --git https://github.com/SoutrikBandyopadhyay/latexclean

Usage

Basic Usage

$ cd \path\to\your\latex\workspace
$ latexclean

To enable verbose output,

latexclean --verbose
latexclean -v

List all the extensions that are purged

latexclean --list

Alternatively,

latexclean -l

Dependencies

~2.8–10MB
~100K SLoC