Tuesday, August 6, 2013

Ubuntu - Printing multiple pdf files in one go

I have some pdf files to print (about 158), and I want to print all of them in one go.

Change directory to the containing folder, and run the command:


for FILE in *.pdf ; do lpr "$FILE" ; done