Package texlive-texdirflatten

Collect files related to a LaTeX job in a single directory

http://tug.org/texlive/

The Perl script parses a LaTeX file recursively, scanning all
child files, and collects details of any included and other
data files. These component files, are then all put into a
single directory (thus "flattening" the document's directory
tree).

General Commands
Command Description
texdirflatten Collects all components of a (La)TeX file in a single output directory -- i.e...