Saturday, January 19, 2013

grep + find example 範例

find ./ -name \*.py -exec grep -wl nltk {} \;

Find all the files which contain 'nltk' in their content in current directory.

找出當前目錄下所有內容含有'nltk'這個字的python檔案


No comments:

Post a Comment