Last Updated: February 25, 2016
·
141
· nielsonm

Finding Drupal content types in features 1.x via grep

grep 'features\[node\]\[\] =' -R . | grep -E "profile|multimedia|article" | grep info

Explanation:
1. Find "features[node][] =" in any files in any directories above current location
1. In the results of 1 find content types with machine names profile OR multimedia OR article
1. find the info files that match step 2