Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.24 KB

readme.md

File metadata and controls

39 lines (30 loc) · 1.24 KB

1Password Duplicate Item Archiver

1Password used to have a tool to help you find and remove duplicates, but they removed it. This is a simple script that uses the 1Password CLI to find and archive duplicates.

UPDATE: They've added a dupe finder to the Watchtower in the latest beta, hopefully rendering this obsolete: https://1password.community/discussion/comment/697252/#Comment_697252

Getting started:

  1. Clone this repo
  2. https://developer.1password.com/docs/cli/get-started/#sign-in
  3. pip install -r requirements.txt
  4. ./dupe_finder.py

Example:

❯ ./dupe_finder.py


    This program finds and archives duplicates in a given vault.
    Use --dry to print the commands that would be run without executing them.
    Use --help for more information.

Select an account:
1. ('my.1password.com', '<[email protected]>', 'LONGIDHERE')
2. ('another.domain.com', '[email protected]', 'ANOTHER_LONG_ID')
Enter the number of the option: 1
Select a vault:
1. Private
2. 1Password
3. Shared
Enter the number of the option: 1
2 duplicates were found:
  Name of item: 2 duplicates
  Another item: 2 duplicates
Would you like to archive these 2 duplicates now? (y/N): y
Archiving dupe of Name of item
Archiving dupe of Another item