Chaining Find Exec Commands for Quick Data Analysis

Quick review of basic find command before getting to the content. $ find . -name "*.txt" -exec grep -l dog {} \; Executing commands via exec must end with \; and often use {} as a placeholder for each file that the find commands locates. In the above example, imagine the command first locates the desired files, in this case files in the current and child directories that end with .txt . These X…