dconf list --recursive (or -r)
@jtriplett
Submitted by Josh Triplett Assigned to dco..@..e.bugs
Link to original bug (#719459)
Description
For scripting purposes, it would help to have a "dconf list --recursive" (or -r) which lists every key under a given path, recursing into subdirectories.
Here's a shell script which implements that on top of dconf list; dconf list -r should produce the same results.
#!/bin/sh
l() {
dconf list "$1" | while read key ; do
if [ "{key%/}" != "
key" ] ; then
l "1
key"
else
echo "1
key"
fi
done
}
l "$1"
Version: git master