Bulk-rename script

sam_hall
sam_hall
Community Member

Does anyone have a script they can share to search/replace some text in entry names? I have 241 items in my vault that need renaming. Preferably not a perl based script, I had a hard time getting perl working when we migrated from Keepass and ended up using python to load CSV data from memory.

I think it would be possible using the command line tool to create a new entry with the desired name based on the old one, then delete the old entry. Does that sound about right? It's been a while since I looked at the command line tool. Any other suggestions or code snippets would be appreciated.


1Password Version: 7.3.684
Extension Version: 4.7.5.90
OS Version: Windows 10
Sync Type: No idea
Referrer: forum-search:bulk rename

Comments

  • cohix
    cohix
    1Password Alumni

    I don't have any scripts readily available, but you can do some data massaging to accomplish what you want. The createWithNewName -> deleteOldItem is the only approach available right now, until we add item editing (which is something we're planning).

This discussion has been closed.