LoginSignup
0
0

More than 5 years have passed since last update.

find でファイルの探し方

Posted at

find コマンドの使い方ですが、
例えば、work/ の下に、.h、.c、.cpp ファイルだけを調べたいのです。
find work -name "
.[hc]" -or -name ".cpp" -print
で全ての必要なファイルが検索して出力するかと思いますが、
なぜか、"
.cpp" だけが出力されます。
どなたが教えて下さいませんか。宜しくお願いします。

0
0
2

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