hi,
i need help.
I need a command for exiftool to put a name of pdf file in the title TAG...
like : title="original_name.pfd by exiftool"
thanks
problem solve!!!
command line is : exiftool"-Title<myname" *.pdf
and code of .exiftool_config is:
%Image::ExifTool::UserDefined = (
'Image::ExifTool::Composite' => {
MyName => {
Require => 'FileName',
# remove "_code.pdf" from end of FileName
ValueConv => '$val =~ s/_code\.pdf//; $val',
},
},
);
thanks
Since you want the whole file name in the title, you don't need the config file and you can use this command:
exiftool "-Title<FileName" *.pdf
- Phil
Edit: Added missing space in command after "exiftool"
hi, thanks for help.
but i have one problem ... i need the file name and more text.
example:
Title = name of file + "by exiftool"
You do that like this:
exiftool "-Title<$FileName by exiftool" *.pdf
But if you are on Mac or Linux you must use single quotes instead of double.
- Phil
thanks Phil...
exiftool is the best...