{"id":1030,"date":"2018-03-10T00:49:40","date_gmt":"2018-03-09T23:49:40","guid":{"rendered":"http:\/\/localhost\/miosito\/?p=1030"},"modified":"2018-03-10T21:35:55","modified_gmt":"2018-03-10T20:35:55","slug":"rinominare-pdf-in-base-ai-dati-tag-del-titolo","status":"publish","type":"post","link":"http:\/\/localhost\/miosito\/en\/rinominare-pdf-in-base-ai-dati-tag-del-titolo\/","title":{"rendered":"Rename PDF based on the title tag data"},"content":{"rendered":"
\nHello,
\nafter 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 !!!
\nfirst of all download this file:
\n<\/p>\n
move the file to <\/p>","protected":false},"excerpt":{"rendered":" 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 […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[57,35,36,7,69,30,9],"_links":{"self":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/1030"}],"collection":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/comments?post=1030"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/1030\/revisions"}],"wp:attachment":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/media?parent=1030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/categories?post=1030"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/tags?post=1030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\/home\/YourName<\/strong>\/.local\/share\/nautilus\/scripts\/
\nthen by right clicking on the file
\ngo to property > permissions
\nand put the check mark on “Allow file execution as a program”
\nNow just select the file or pdf files that interest you and right click
\nscript > renam-Port-title-tag-in-name.sh
\nNB: ATTENTION<\/strong> the script renames all the PDFs contained in that folder
\nNB: ATTENTION<\/strong> If the PDF file has no title tag the PDF will be deleted
\nI hope you come back useful !!!<\/p>\n