append tif or pdf page count to filename

Post any Bulk Rename Utility support requirements here. Open to all registered users.

append tif or pdf page count to filename

Postby sam22 » Wed Mar 25, 2009 1:05 am

how do i append the page count of a tif or pdf file to the current name?

ex:
current file = testA.tif << multi-page tif contains 2 pages
next file = testB.tif << multi-page tif contains 3 pages

i would like to append a suffix starting at "22" so the new file name looks like this:
testA-22.tif .... and the next file would look like this .... testB-24.tif
sam22
 
Posts: 2
Joined: Wed Mar 25, 2009 12:57 am

Re: append tif or pdf page count to filename

Postby Admin » Fri Mar 27, 2009 2:07 pm

That's not possible, sorry!
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm

Re: append tif or pdf page count to filename

Postby notw » Tue Jul 21, 2009 3:39 pm

Does anyone know of something simple that can do this to a PDF? I just need to simply add the number of pages in a PDF to be part of the file name. Any help is appreciated.
notw
 
Posts: 2
Joined: Tue Jul 21, 2009 3:37 pm

Re: append tif or pdf page count to filename

Postby technogran » Fri Mar 05, 2010 10:52 am

sam22 wrote:how do i append the page count of a tif or pdf file to the current name?

ex:
current file = testA.tif << multi-page tif contains 2 pages
next file = testB.tif << multi-page tif contains 3 pages

i would like to append a suffix starting at "22" so the new file name looks like this:
testA-22.tif .... and the next file would look like this .... testB-24.tif


I'm a complete newbie to BRU so don't take my word for it! But I've just tried this out and I believe the answer is to highlight all the files in question, insert a "-" at position 6 and check Auto-numbering>Suffix starting at 22 :idea:
technogran
 
Posts: 4
Joined: Fri Mar 05, 2010 9:51 am

Re: append tif or pdf page count to filename

Postby Stefan » Fri Mar 05, 2010 3:45 pm

Good one.

- appending an suffix is possible
- append the page count of a tif or pdf file is NOT possible - at least not how Admin has understood this. (I think he was thinking to EXTRACT page count out of files,... as i did too on first reading)

As i read your post and re-read the question... it seams you understood this better and worked it out - good work :D

technogran wrote:
sam22 wrote:how do i append the page count of a tif or pdf file to the current name?

ex:
current file = testA.tif << multi-page tif contains 2 pages
next file = testB.tif << multi-page tif contains 3 pages

i would like to append a suffix starting at "22" so the new file name looks like this:
testA-22.tif .... and the next file would look like this .... testB-24.tif


I'm a complete newbie to BRU so don't take my word for it! But I've just tried this out and I believe the answer is to highlight all the files in question, insert a "-" at position 6 and check Auto-numbering>Suffix starting at 22 :idea:
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to BRU Support