attachment file name is changed automatically
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Having spent a fair chunk of time this morning trying to get Zotfile to *not* rename my files - though this forum thread explains just why it wasn't working, despite my using the "never rename" setting in Zotfile>advanced preferences - I happened on the following workaround:
I drag my file (named the way I want) into Zotero *without* attaching it to a reference, and it doesn't get renamed. I then drag it into the reference and it keeps its original name.
I hope my comment helps some people.
You can also customize how Zotero renames, see attachmentRenameFormatString here https://www.zotero.org/support/preferences/hidden_preferences#general_preferences
Note: if clicking in the right-click menu on 'Rename Attachment', it uses the ZotFile rule.
If appropriate I could open a github issue (with screenshot, ...). Or maybe I'm wrong :)
Zotero: 5.0.44
ZotFile: 5.0.7
OS: High Sierra 10.13.4
I am not debating the validity of this feature, here. I'm sure some would love it. But as it most things in the world, things do anatagonise some people, whilst they are joy to others :).
Okay, I have figured a way out to get past this problem of Zotero renaming files. It is not the the most elegant solution, but works for me:
1. Add attachment > Attach link to file
(File name gets messed up)
2. Go to the folder where the PDFs are stored and rename the file to your chosen format.
3. Re-attach PDF (Don't delete the existing link with the messed up filename).
Add attachment > Attach link to file
Voila! File name is now not being messed up.
4. Delete the existing link with the messed up filename.
5. Optional: Clean up Trash!
Sorted. For the time being.
Does Zotero's "expanded auto-renaming" provides a way to rename using a patern similar to ZotFile's %F?
"%F author’s last name with first letter of first name (e.g. EinsteinA)"
Thanks!