These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Batch renaming of files based on content/title

jfadden
Registered: Mar 25 2009
Posts: 3

I have large folders full of pdf files with arbitrary (actually date-based names) that were produced by a scanner. The pdf files are mainly scientific journal articles that were scanned and then run through OCR. I would like to rename the files with the title found on the first page of the article and do this for multiple files in a batch

For example here is a file name:

2009_03_16_02_36_16.pdf

This is a pdf scan of an article entitled "Effect of blueberry feeding on plasma lipids in pigs".

I would like to have the file renamed as:

Effect of blueberry feeding on plasma lipids in pigs.pdf

I would like to do this for a large number of files in a batch.

If the title is too long it if fine to shorten it by taking only the first x number of words/letters e.g. the first 100 characters of the title. In nearly all the articles the title is on the first page in a large font.

How can I do this?

My Product Information:
Acrobat Pro 8.1.2, Windows
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2398
Only through a custom-made JavaScript tool, combined with a Batch Sequence, and even then it might not always be possible (it can be tricky to find out where the title begins and where it ends). Contact me by email if you're interested in such a tool.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com