The one-liner for listing or removing all files that do not match a pattern from the etc section requires that extended globbing be enabled (shopt -s extglob).
It may be a good idea to include this as a note since not all distros have this enabled by default. (mine didn't)
For more info, see here