tseho / dconf-filter

Script in Go for filtering a dump from dconf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dconf-filter

Usage

Install:

go get github.com/tseho/dconf-filter

see "Rules" for the rules file

dconf dump / | dconf-filter --rules=<RULES_PATH>

Rules

You need to provide a rules file using the gitignore syntax.

Eg:

org/gnome/shell
!org/gnome/shell/command-history

This exemple will whitelist all settings in org/gnome/shell/* except org/gnome/shell/command-history.

As git does with gitignore, the last matching rule will overwrite any previous match.

About

Script in Go for filtering a dump from dconf


Languages

Language:Go 100.0%