jlegewie / zotfile

Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items, sync PDFs from your Zotero library to your (mobile) PDF reader (e.g. an iPad, Android tablet, etc.), and extract PDF annotations.
4.05k stars 281 forks source link

Rename linked file in arbitrary directory, without changing location #667

Open sancho-s opened 10 months ago

sancho-s commented 10 months ago

I often have Zotero items with linked pdf files as attachments. The location of those pdf files is a directory of mine. Not a Zotfile directory, nor a Zotero directory.

Is there any way of renaming the linked files as per Zotfile rules, but without changing their location? The closest to this I found is:

  1. Right click -> Rename File from Parent Metadata. But this uses Zotero rules, not Zotfile.
  2. Right click -> Manage Attachments -> Rename and Move. This uses Zotfile rules, but it also moves the attachments to Zotero/Zotfile directories. I want this, without the Move part.

Related:

  1. https://forums.zotero.org/discussion/82766/renaming-rules-not-taken-into-account
  2. https://superuser.com/questions/542078/how-to-use-zoterozotfile-to-rename-all-pdf-files-in-a-directory
  3. https://forums.zotero.org/discussion/110680/rename-linked-file-with-zotfile