Filename does not remove period from title
My filenaming rule is this:
{{creators join=" " max="4" suffix=" "}} {{ year suffix=" " }} {{title case="title" replaceFrom="(:)|(\\.$)" replaceTo="-$1" regexOpts="g"}}
EDIT: I changed this into
{{creators join=" " max="4" suffix=" "}} {{year suffix=" "}} {{title case="title" replaceFrom="\.\s*$" replaceTo=""}}
as ChatGPT told me that the first code would not be read correctly by Zotero
I hoped this would prevent a period from being placed at the end of the filename. Unfortunately, sometimes I still see filenames like:
"Hillebrandt Barclay 2020 How Cheating Undermines the Perceived Value of Justice in the Workplace- The Mediating Effect of Shame..pdf"
I work on a Mac, and sometimes I create the parent item via the DOI, but mostly by dragging (and pressing Option & Command to make a link), if that would matter.
Is something wrong with my filename template? Or how can I avoid that my files get renamed with a period at the end?
{{creators join=" " max="4" suffix=" "}} {{ year suffix=" " }} {{title case="title" replaceFrom="(:)|(\\.$)" replaceTo="-$1" regexOpts="g"}}
EDIT: I changed this into
{{creators join=" " max="4" suffix=" "}} {{year suffix=" "}} {{title case="title" replaceFrom="\.\s*$" replaceTo=""}}
as ChatGPT told me that the first code would not be read correctly by Zotero
I hoped this would prevent a period from being placed at the end of the filename. Unfortunately, sometimes I still see filenames like:
"Hillebrandt Barclay 2020 How Cheating Undermines the Perceived Value of Justice in the Workplace- The Mediating Effect of Shame..pdf"
I work on a Mac, and sometimes I create the parent item via the DOI, but mostly by dragging (and pressing Option & Command to make a link), if that would matter.
Is something wrong with my filename template? Or how can I avoid that my files get renamed with a period at the end?
Upgrade Storage