Skip to content

Instantly share code, notes, and snippets.

@beezly
Created April 19, 2018 21:16
Show Gist options
  • Save beezly/52567aa8210fa16eae74a556ef14f0da to your computer and use it in GitHub Desktop.
Save beezly/52567aa8210fa16eae74a556ef14f0da to your computer and use it in GitHub Desktop.
Delete One Password Items Duplicated by Title
op list items | jq -r 'group_by(.overview.title) | .[] | select(length > 1) | min_by(.updatedAt) | .uuid' | xargs -n 1 op item delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment