Menu

#820 Rename pdf

Next full release
closed
nobody
5
2016-02-06
2013-03-13
mel
No

It could be interesting to rename PDF in case you decide to change pattern of your bibtexkey, but leaving some personnalized text. Maybe in the cleaning option?
Example :
Perazzo12_R_pathophysio.pdf
will become
Perazzo12_WJHep_R_pathophysio.pdf

I was able to do by a script which I run as export on all files with pdf already linked (old bibtexkey). The script is personnalized, so it search for _ and append for journal. I just run this file in command line (I'm on Ubuntu).

renamer.sh
\begin{file}rename -n 's/([^_]+)(.*)/'"\format[FormatChars]{\journal}"'$2/' \format[FileLink]{\file} \end{file}

Discussion

  • fdar

    fdar - 2015-07-22
    • Labels: --> search
     
  • fdar

    fdar - 2015-07-22
    • Labels: search --> search, filelink
     
  • fdar

    fdar - 2015-07-22
    • Labels: search, filelink --> pdf, search, filelink
     
  • fdar

    fdar - 2015-07-22
    • Labels: pdf, search, filelink --> commandline, pdf, search, filelink
     
  • fdar

    fdar - 2015-07-22
    • Labels: commandline, pdf, search, filelink --> pdf, commandline, search, filelink
     
  • fdar

    fdar - 2015-07-22
    • Labels: pdf, commandline, search, filelink --> export, pdf, commandline, search, filelink
     
  • fdar

    fdar - 2015-07-23
    • Labels: export, pdf, commandline, search, filelink --> search, export, pdf, commandline, filelink, tocategorize
     
  • fdar

    fdar - 2015-07-27
    • labels: search, export, pdf, commandline, filelink, tocategorize --> EntryHandling, EntryFile, EntryRecord, CleanUp, PDF
     
  • Oliver Kopp

    Oliver Kopp - 2015-07-27

    That functionality should be put into "Cleanup Entries"

     
  • Tobias

    Tobias - 2016-02-06

    There is already a "Rename PDFs to given filename format pattern" under "Cleanup Entries", so this feature request can be closed.

     
  • Tobias

    Tobias - 2016-02-06
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.