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
Written by Mike Nielson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Grep
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#