Find anything with grep | Macworld - Macworld - News, tips, and reviews from the Apple experts
To Find… Use This Option Example Text in subfolders-r grep -r Walden ~/Documents/* Finds Walden in any file in any subfolder of ~/Documents. Whole words only-w grep -w live Finds only live; does not find liver, lives, lived, and so on. Case-insensitive te...