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.06k stars 282 forks source link

rename pdfs according to their citekeys #504

Closed Halem998 closed 2 years ago

Halem998 commented 3 years ago

ok i still have no idea how to make zotero rename my pdf's according to their corresponding citekeys. this freaks me out. it just cant be so hard. can anybody give me a proper recipe or documentation?! i want zotero to rename my pdfs automatically as well. T-T

ps: i have zotero 5 installed

alixlahuec commented 3 years ago

Are you using Better BibTeX ? If so, the latest Zotfile version (v5.0.16) gives you access to a wildcard for using the Better BibTeX citekey.

To use it, set {%b} as format in Zotero Preferences > Renaming Rules. It'll name the attachment with the citekey (without initial @).

ahrendsen commented 3 years ago

Hi @tjallemaal,

Keep in mind this is an issues page for ZotFile, and extension of Zotero. ZotFile can rename your files for you and put them all in a (single) folder of your choice.

The documentation for installing ZotFile (http://zotfile.com/#how-to-install--set-up-zotfile) describes how to set up ZotFile with your Zotero installation. Once you have ZotFile, investigate the options (Tools > ZotFile Preferences...) to ensure the files will be renamed as you desire. Then, you can rename existing files in your library by right click and selecting the appropriate options, as shown in the attached image. ZotFileRename

You can also select multiple .pdfs by ctrl-clicking each of the items you want to rename.

If you're still having difficulty, please provide more details about the steps you are taking to rename the files.

Karl