Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have over 50,000 PDFs organized into folders in a file called PDFACT.

I needed to compress these files so I ran them through Adobe to batch compress them and this worked—except Adobe could only output the files without their folder structure.

So basically I have 50,000 PDFs set up in a folder with hundreds of subfolders, and everything was organized. I ended up with one folder with 50,000 compressed PDFs in it, just in alphabetical order. Somehow I need to replace all the orginal PDFs with their compressed copies.


Let me give an example: In the folder PDFACT we have the following file:

C:\PDFACT\BIG DINNER\BILL\NEWESTBILL.PDF

… and in the output folder that Adobe created we have just:

C:\COMPRESSED_PDF_FOLDER\NEWESTBILL.PDF

This copy is smaller then the one in PDFACT and has the same name but it is just lumped in with every other PDF. The folder structure and subfolders are gone.

Is there any way to replace all the larger uncompressed PDFS inside the orginal folder structure with their now compressed counterparts?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.