linux - Trying to output the page counts of a large number of PDF's to a log file -


I have 1,550 PDF file for which I want to count the page.

I used the command lS -Q | Grep \ .pdf & gt; To output all file names with the extension .pdf ./ lslog.log to output them in .log files with double quotes around them. I then opened the lslog.log file in GSDI and replaced it with " (double quote) with ' (apostrofi) so that I can use that file which includes particles The last command has been done.

When I use the exiftool - "* calculation *" command on a file (which uses any XIF data from the selected file In which the word is "counting"), for example, exiftool - "* count *" 'example PDF (generation) .pdf' < / Code> I get something, "page number: 512" or whatever page is counted.

However, when I use it on multiple files, for example: exiftool - "* Calculation *" 'Example PDF (PDF). PDF "Another example PDF.pdf" I get

  file not found: Example PDF (companionships) .pdf, ======= second example PDF.pdf page number: 362 1 read image files 1 files could not be read  

So basically, I am able to read the previous file, but not for the first time. This pattern continues because I add more files. This file is able to find the page number of itself and the final file, but not the other files.

Do I need to input many files differently? I'm just using a comma to separate files, but without a comma, I get the same result exiftool Does it take many files?

I do not know why you are getting the behavior you are receiving, but It looks like me, whatever you are doing may be covered in a line:

  exiftool - "* calculation" * * .pdf  
< P> My output from a group of PDFs I had seen like this

  ======== 86A103EW00.pdf Page number: 494 = ======= DSET3 .5_Reportable_Items_Linux.pdf Page number: 70 ======= DSView 4 v4.1.0.36.pdf Page number: 7 ======== DSView release-no S-v4.1.0.77 (1) .pdf page number: 7 ======= DSView-Release-Notes-v4.1.0.77.pdf Page number: 7  
< / Div>

Comments