If you'd like to show the code difference for all enabled features not in their default state, use
drush features-diff-all --force
--force Bypass the confirmations. This is useful if you want to output all of the diffs to a log file.
Other option is to use Features Diff module for that.
This is a simple modules used to view the diffs of a single or all features modules.
To list all Overriden feature modules by parsing the output of feature-list, the syntax can be:
drush fl --status=enabled | grep -o "\S\+\s\+Enabled.\+" | grep "Overridden"
To have both Overridden and Needs review, use:
grep -e "Overridden" -e "Needs review" instead.
To get the list of modules, filter by:
cut -d' ' -f1.
For longer name of modules, increase
COLUMNS variable as names can be cut off.
So to pipe all features into feature-diff (
fd), feature-revert (
fr), feature-update (
fu) or features cleanup (
COLUMNS=100 drush fl --status=enabled | grep -o "\S\+\s\+Enabled.\+" | grep -e "Overridden" -e "Needs review" | tee | cut -d' ' -f1 | xargs -t drush fcf
For running it in parallel (to speed it up), add
-P4 -L4 into