Page 1 of 1

append tif or pdf page count to filename

PostPosted: Wed Mar 25, 2009 1:05 am
by sam22
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

Re: append tif or pdf page count to filename

PostPosted: Fri Mar 27, 2009 2:07 pm
by Admin
That's not possible, sorry!

Re: append tif or pdf page count to filename

PostPosted: Tue Jul 21, 2009 3:39 pm
by notw
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.

Re: append tif or pdf page count to filename

PostPosted: Fri Mar 05, 2010 10:52 am
by technogran
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:

Re: append tif or pdf page count to filename

PostPosted: Fri Mar 05, 2010 3:45 pm
by Stefan
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: