Renaming parent item with full file name
For a given set of items in a collection, is there any way to copy the full filename as the parent title instead of having it truncate parts it thinks are irrelevant? I want to go through the automated zotfile process of rename and move but I don't want to lose potentially valuable data I could manually parse myself later.
To be clear, I'm just looking to do this for a collection of items rather than make this a default behavior.
To be clear, I'm just looking to do this for a collection of items rather than make this a default behavior.
A file named: "The Road to Eleusis Unveiling the Secret of the Mysteries - 1979 - Journal for the Scientific Study of Religion" gives the parent metadata Title "Unveiling the Secret of the Mysteries," and discards both the year and the Journal. Yet "The Road to Eleusis" is the most important part of that title, not what comes after it. I can only assume zotero thinks that's the subtitle, but it's clearly a little confused. It does, however, copy over the authors which are not in the filename, which makes me think it doesn't even look at the filename.
There are many cases where it removes the subtitle when really it would be great to keep instead. This seems to be often things that come after " - " and ": " and "_", but not always (see above example). But why discard valuable metadata in the first place? In the interest of keeping a short title? I'm personally not quite sure why zotero is set to try and remove the subtitle which seems to be the main issue causing all this fuss in the first place. What's the advantage in that? That is unless, as I'm suspecting, it's not even looking at the filename.
In such a case, I would suggest either:
1. Add the item as you currently are, then manually clean up metadata.
2. Temporarily disable the PDF Metadata Retrieval option in the General pane of Zotero preferences, add the file to Zotero, then right click on and choose Create Parent Item and clean up the metadata manually.
As both options require manual clean up of the data, I’d say option 1 is arguably faster.
Number 2 above is exactly what you were asking for.
But metadata retrieval is metadata retrieval — it tries to actually retrieve high-quality metadata for the PDF, which includes far more than the title/author/year that might be in the filename. The filename just isn't really relevant in that case, and it doesn't really make sense to expect Zotero to understand or care what's in your custom filenames.
If all of your files use the exact same filename format, it would be possible to write a script that populated the parent metadata with just those components once they were in Zotero, as long as you turned off file renaming now.
I'm simply wondering if there's some sort of batch process that can set the parent item name/title to be the filename, while maintaining all the other metadata. Essentially the reverse of "Rename file from parent metadata"
(p.s. I think my comments belong in the original discussion, not this split-off one. Sorry if my description was confusing)