Sample Header Ad - 728x90

defaults delete domain is not working

3 votes
1 answer
549 views
I'm trying to clear out the defaults for an app I'm working on.
defaults read com.mycompany.Foo
That prints a bunch of stuff.
defaults delete com.mycompany.Foo
Silent.
defaults read com.mycompany.Foo
It's all still there. Why?
defaults delete com.mycompany.Foo specificKey
This appears to work. But I don't want to go through key by key. I'd like to delete the entire domain.
Asked by Rob N (1750 rep)
Jul 19, 2022, 04:43 AM
Last activity: Aug 7, 2024, 05:01 PM