Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
3 deleted 19 characters in body
source | link

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here


Edit: For an alternative to pdfinfo you can use exiftool to read/write files metadata. For example to get title and author you could do this:

exiftool -Title -Author input.pdf

Hope this helped :)

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here


Edit: For an alternative to pdfinfo you can use exiftool to read/write files metadata. For example to get title and author you could do this:

exiftool -Title -Author input.pdf

Hope this helped :)

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here


Edit: For an alternative to pdfinfo you can use exiftool to read/write files metadata. For example to get title and author you could do this:

exiftool -Title -Author input.pdf
2 added 314 characters in body
source | link

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here


Edit: For an alternative to pdfinfo you can use exiftool to read/write files metadata. For example to get title and author you could do this:

exiftool -Title -Author input.pdf

Hope this helped :)

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here


Edit: For an alternative to pdfinfo you can use exiftool to read/write files metadata. For example to get title and author you could do this:

exiftool -Title -Author input.pdf

Hope this helped :)

1
source | link

For pdfinfo to display the title, it must be specified in the metadata field title. The title that it displays it's not the pdf "physical" filename if that is what you're trying to get.

Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. In the image bellow you can see that they can have different values

enter image description here