Renaming all Files with Parent Metadata

Zotero has this context click option to 'Rename File from Parent Metadata' which renames PDFs (or whatever) to something useful which pertains to the contents. It would take a very long time for me to manually go through every PDF in my collection to rename it with this function so I was hoping there might be some way to get Zotero to do this automatically to every file (appending the name with a number to avoid conflicts if necessary).
  • Note that Zotero now does this automatically by default for new files that you add.

    You can do this for multiple items by doing a search that matches multiple attachments (e.g., a saved search with Attachment File Type is PDF) and then using Select All (which will select only the matching items) and the context menu option.
  • Thanks very much!
  • Zotero also gives you some control of how the file names will be formatted, you'll find more information here: .
  • I have tried several approaches to batch rename PDFs from parent metadata, for a possible solution see If you have many duplicate files, as often happens when shifting versions, back-ups, or other global file system changes try one of the many duplicate file finders instead of searching manually.
  • Hi guys I am new to Zotero. I need to right click on a file to rename it. Ive read hear and elsewhere that it should happen automatically. Are you able to advise if there is a setting I need to change. I can't seem to find one. Thank you in advance.
  • You can attach the file to an item in Zotero, and then, when you right-click the attachment in Zotero you will see an option "Rename File from Parent Metadata". There are more advanced options for renaming and moving files with the add-on Zotfile.
  • I think the question is why this doesn't happen automatically. The answer most likely is that it does and you're just not seeing it: Zotero automatically renames the file, but that's not reflected in the file _label_ in the middle panel. Have you checked the actual filename? (in the right-hand panel or when using "Show File" on the file

    If so, how exactly are you adding these files?
  • I see that directly-imported *PDFs* are now automatically renamed. This is a great feature. However, when I save a reference from a web page containing a link to a PDF, it would be great if the automatically-downloaded PDF could be automatically renamed as well. I currently do this manually for every article that I save. Could this option be added in the future?
  • @calvinke: Automatically downloaded PDFs have always been renamed. See adamsmith's comment directly above yours.
  • @dstillman you are correct - the automatically PDF does get renamed when I view the actual file. It's not reflected in the file label in the middle panel as @adamsmith said. I did try to restart the program and the old file label is still shown. Any way to update the file label automatically?
  • edited January 30, 2019
    It's not showing the "old file label" (which doesn't exist, because these are new files). It's showing the attachment title assigned by the translator, which serves a different purpose.
  • Got it. So I guess if I want to change the attachment title then I would need to manually update it, but there isn't a need to do this per se.
  • edited January 30, 2019
    You can click on the attachment title in the right-hand pane to change it.

    Edit: Sorry, misread. Yes, that's right — there's no need to change the attachment title unless you want it to display something different. (E.g., some people note whether it's an annotated version of the PDF.)
Sign In or Register to comment.