for f in $(rg --files-with-matches '^ disable: ' metadata/*.yml); do yq -i '.Builds |= ((.[:-1] | filter(has("disable") | not)) + .[-1:])' $f; done fdroid rewritemeta