Revision history of "This command line script"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 11:09, 4 November 2022‎ Wavemotion talk contribs‎ 744 bytes +744‎ Created page with "<nowiki>#</nowiki>!/bin/bash results=$(security dump-keychain -r | grep "Sequel Pro" | sed -E -e 's/^.*"([^"]+)"$/\1/' | sort | uniq) IFS=$'\n' read -r -d <nowiki>''</nowiki> -a items < <(printf '%s\0' "$results") for key in "${items[@]}"     do         newkey=$(echo "$key" | sed -E -e 's/Sequel Pro/Sequel Ace/')         echo "Migrating: $key --> $newkey"         account=$(sudo security find-generic-password -l "$key" | grep "acct\"<blob>" | sed -E -..." Tag: Visual edit