Created
August 25, 2020 19:03
-
-
Save mdznr/52969741acb355ecc011e502dbfaad7b to your computer and use it in GitHub Desktop.
Easily delete all user defaults matching a given format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults read <domain> | grep -o --regexp="\"NSWindow Frame [^\"]*\"" | xargs -L1 defaults delete <domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fish shell function: