Skip to content

Deduplicates 1Password login items with the same domain name and username.

Notifications You must be signed in to change notification settings

ben-hampson/1Password-Deduplicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1Password Deduplicator

Deletes duplicate login items in 1Password.

Based on the script originally made by pauladams8.

It looks at the URL and username of login items. If two items have the same URL and username, it will delete one of the items. Login items with OTP or a longer password are kept and the other is deleted.

Setup

# Install the 1Password CLI if you don't already have it
brew install --cask 1password/tap/1password-cli

# Download and setup
git clone [email protected]:Ben-Hampson/1Password-Deduplicator.git
cd 1Password-Deduplicator
pip install -r requirements.txt

# Run it
python -m 1password_deduplicator -d

Options

--ignore-favorites - Ignores favourited login items.
--archive          - Archives items instead of deleting them.
--dry-run          - Tells you which items it would delete but doesn't delete them.
-y                 - Doesn't prompt before deleting / archiving.
--tag <tag>        - Only looks for duplicates with the given tag. (untested)
--vault <vault>    - Only looks for duplicates in the given vault. (untested)

About

Deduplicates 1Password login items with the same domain name and username.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages