Hi - hoping someone can point me in the right direction on this.. I've been searching all over but cannot seem to find an answer.
Problem: I have tens of thousands of files. Most of them are single page .tif files. They are named like:
Lease_1_2004_Smith.tif
Lease_2_2004_Smith.tif
Lease_3_2004_Smith.tif
Contract_1_2004_Smith.tif
Letter_1_2003_Smith.tif
Letter_2_2003_Smith.tif
GOAL:
1. Select folder
2. Find files that have matching names (except for the sequential number that always appears after the first _ ). So using the example above, it would return:
Lease_1_2004_Smith.tif
Lease_2_2004_Smith.tif
Lease_3_2004_Smith.tif
3. Convert the found set into a single PDF file (this is working well in automator).
4. Save the new PDF file as Lease_2004_Smith.PDF into the same folder.
5. Repeat for the next set of found matching files in this folder.
Any suggestions please? As the PDF conversion is already working well in Automator I'd be happy to try and do the whole process in Automator/applescript but open to ideas or third party applications. Items 2. and 4 are what I am really stuck on..
Thank you in advance for any suggestions.
Problem: I have tens of thousands of files. Most of them are single page .tif files. They are named like:
Lease_1_2004_Smith.tif
Lease_2_2004_Smith.tif
Lease_3_2004_Smith.tif
Contract_1_2004_Smith.tif
Letter_1_2003_Smith.tif
Letter_2_2003_Smith.tif
GOAL:
1. Select folder
2. Find files that have matching names (except for the sequential number that always appears after the first _ ). So using the example above, it would return:
Lease_1_2004_Smith.tif
Lease_2_2004_Smith.tif
Lease_3_2004_Smith.tif
3. Convert the found set into a single PDF file (this is working well in automator).
4. Save the new PDF file as Lease_2004_Smith.PDF into the same folder.
5. Repeat for the next set of found matching files in this folder.
Any suggestions please? As the PDF conversion is already working well in Automator I'd be happy to try and do the whole process in Automator/applescript but open to ideas or third party applications. Items 2. and 4 are what I am really stuck on..
Thank you in advance for any suggestions.