Search and replace words in title in a library collection
I manually changed the titles for say A+ as A$^+$ in a given collection library. I am wondering whether I can do it by search and replace option for titles, if not, this feature will be great in future versions.
-
dstillmanNot currently without scripting (most easily using the web API and a library such as pyzotero), but batch editing is planned.
-
yuba ubThanks a lot dstillman for the reply, I'll look the documentation for pyzotero as for now.
-
dstillmanIf you happen to know how to use the command line, you can even do it with curl and a text editor. Basically:
- curl -H "Zotero-API-Key: [key]" https://api.zotero.org/users/[userID]/items?q=[search] > items.json
- Edit items.json with a text editor
- curl -H "Zotero-API-Key: [key]" -H "Expect:" -d @items.json https://api.zotero.org/users/[userID]/items