LoginSignup
0
0

More than 5 years have passed since last update.

とあるディレクトリのファイルがソースコード中に含まれているか調べる

Posted at
# ファイルリスト作成。必要なら編集も可。
$ ls -1 > files.txt
# grepのパターンにファイルを指定する
$ find (検索したいパス) -type f -name *.js | xargs grep -f files.txt 2>&1 | tee result.txt
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0