Skip to content

Taytay/1password_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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', '<my-email@my-domain.com>', 'LONGIDHERE')
2. ('another.domain.com', 'another-email@another-domain.com', '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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages