# xmlファイルを検索、ただし.svnディレクトリ以下は除く find ./ \ -type d -name '.svn' -prune \ -o -type f -name '*.xml' # xmlファイルを検索、ただし.svnディレクトリ以下は除く # 検索結果のファイルの内容から、apiを含む行を探す find ./ \ -type d -name '.svn' -prune \ -o -type f -name '*.xml' -print0 \ | xargs -0 grep -n --color 'api' Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful infor