This question already has an answer here:

I have a directory which has subdirectories (of arbitrary depth) that all have files, but have LaTeX (.tex) files as well. However, I do not want to go to each file and compile each separately. Is there a script to compile all of them at once from the top directory?

marked as duplicate by Guido, jubobs, David Carlisle, Adam Liter, Werner May 7 '14 at 23:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.