Created
April 17, 2019 14:37
-
-
Save jstanley23/160d982b49af53fab96c18ef551c18c9 to your computer and use it in GitHub Desktop.
Export all Control Center configs to files
This file contains 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
IFS=$'\n'; for x in $(serviced service list --show-fields=Name,ServiceID | grep -v 'ServiceID'); do IFS=" "; s=($x); serviced service list ${s[1]} > /tmp/${s[0]}.json; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment