Renaming pdfs zotfile-style but with Zotero storage
Is it possible to use zotfile for renaming pdfs without moving and linking them outside of the database? I have been using Zotfile to rename pdfs to (author et al) - (year) - (title). Can Zotero do this?
ZotFile might be able to rename stored files as well, but if you just want to change the order of the components like that, Zotero can do it. See attachmentRenameFormatString on Hidden Preferences. (We'll expand the built-in renaming options at some point.)Zotero already does this by default.
If you think you're seeing something different, let us know the exact steps you're taking and what you're seeing.
1. I press the extension in safari and choose the article I need
2. The popup comes in the right corner with the metadata for the parent item and after a short while the pdf now called "Full text PDF"
3. I go the my library and the pdf is still called "Full text PDF" until i press "rename file from parent metadata"
"Full text PDF" is the *title* of the attachment in Zotero. Titles are mostly uniform to make finding, e.g. all such attachments easy.
The actual filename -- which you can see in the right-hand pane or by using right-click --> Show file -- is different.
autoRenameFiles
is just the visible setting in the prefs, which applies when you add a PDF directly (from the connector or filesystem) and metadata retrieval is performed (based on metadata-retrieval pref). It's on by default. And based onfileTypes
, it applies only to PDFs by default. You don't need to worry about these prefs. This just works.When you save from an article page and a PDF is downloaded automatically, renaming is always performed, since there's often no filename to begin with.
Would it be possible to add this as a feature request then? To automatically rename the pdf in the library as well?