Removing title commas and stars when renaming using Zotfile

edited February 28, 2021
I have a paper that contains commas and asterisks in its title (do not blame me), unfortunately it was not published yet, therefore I can't send the DOI or the file before the final publication.

The title is something like: A foobar for something, else, and there again*

The problem is when zotero automatically renames the filename contains commas (weird) and an asterisk (dangerous). My renaming rule transforms the pdf filename to:

author1_et_al_2020_a_foobar_for_something,_else,_and_there_again*.pdf


I have toggled the following parameters in Zotfile rename (ZotFile Preferences->Renaming Rules):

Format for all item types except patents

{%a_}{%y_}{%t}

Format for patents

{%a_}{%y_}{%t}

Additional Settings

Delimiter between multiple authors _
NO Add user input to filename
YES Change to lower case
YES Replace blanks
YES Truncate file after . : ?
YES Max length of title: 80
YES Max number of authors: 2

Number of autors to display when authors are ommited 1

YES Add suffix when authors are ommited: et al


Any hints in how to replace those commas and asterisks in filename for underlines (_) or remove them at all?

Sign In or Register to comment.