Rename PDF based on the title tag data

Posted by MD     Category: Informatica



Hello,
after several attempts I present a new script for Nautilus (file manager present in most linux distributions): allows you to rename all the PDF files, within the same folder, according to the internal tag of the title (for instance right click, property, document, title); very useful in various cases !!!
first of all download this file:

move the file to
/home/YourName/.local/share/nautilus/scripts/
then by right clicking on the file
go to property > permissions
and put the check mark on “Allow file execution as a program”
Now just select the file or pdf files that interest you and right click
script > renam-Port-title-tag-in-name.sh
NB: ATTENTION the script renames all the PDFs contained in that folder
NB: ATTENTION If the PDF file has no title tag the PDF will be deleted
I hope you come back useful !!!