
My suggestion is not to use it and script something to move this file to a better location just in case.

Use the overwrite switch at your own risk. From the example above, a file named drawing.pdf_original will be created. This means a duplicate will exist in the folder where the updated pdf is. The program will create a backup of the original file if you do not use the -overwrite_original switch. not a problem in some cases, even desirable, however, this may be problematic: evince and the nautilus metadata previewer do not show this, but Adobe Acrobat viewer and PDF-XChange viewer do. exiftool -common test.jpgĪn example of output: File Name : test.Give exiftool a try it is available from the package libimage-exiftool-perl in the repositories.Īs an example, If you have a pdf file called drawing.pdf and you want to update its metadata, use the utility, exiftool, in this way: exiftool -Title="This is the Title" -Author="Happy Man" -Subject="PDF Metadata" drawing.pdfįor some reason the Subject entered ends up in the keywords field of the metadata in the pdf file. Use -common option to get the most common metadata of media file. To get all metadata of media file, execute the exiftool command and provide the path of a file as argument: exiftool test.jpg We can check version of ExifTool: exiftool -verĭownload image from the Internet for testing purpose: wget -O test.jpg Sudo apt install -y libimage-exiftool-perl Update the package lists and install ExifTool by using the following commands: sudo apt update This tutorial shows how to install ExifTool on Raspberry Pi.Ĭonnect to Raspberry Pi via SSH.

ExifTool is a cross-platform tool that is written using Perl programming language. The list of all the supported file types can be found in official website. Below is a list of file types and meta information formats currently supported by ExifTool (r read, w write, c create): File Types -+-+-+-+- 3FR r DVB r/w KEY r ORF r/w RWL r/w 3G2 r/w DYLIB r LA r OTF r RWZ r 3GP r/w EIP r LFP r PAC r RM r AA r EPS r/w LNK r PAGES r SEQ r AAX r/w EPUB. ExifTool is a command line tool that allows to read, write and update metadata of media files such as images, video, audio, and PDF.
