Any way to switch all tags to all lower case? Or ignore case in tags?
I have a lot of tags that begin with an upper case letter. But when I clip web pages the tags that come in are all lower case, so I end up with the same tag twice (e.g., Media and media). Is there any way to convert all tags to all lower case? Or tell Zotero to ignore case? I'd prefer the former but the latter would also work.
Any ideas would be much appreciated!
Any ideas would be much appreciated!
https://pyzotero.readthedocs.io/en/latest/
The script below will update ALL your tags except those in the skip_tags list. Use it with caution. It also splits all tags that have more than a word. It saves both the old tag and the new one. That is, you have ("my tag word"), and you get ("my","tag", "word", "my tag word").
The API_KEY and LIBRARY_ID are private. See the documentation.
Script:
https://gist.github.com/aquaresima/7e3d7ef805cdadc4d548d773940d9ead