Unixが特定のファイルを検索しているときにディレクトリを表示しないようにしようとしていました。Unixが見つかったときにディレクトリを無視する
find <path> -name filename <Dont't list matching directories>
Unixが特定のファイルを検索しているときにディレクトリを表示しないようにしようとしていました。Unixが見つかったときにディレクトリを無視する
find <path> -name filename <Dont't list matching directories>
find <path> -name filename ! -type d
あなたはおそらく唯一のファイルと一致する-type f
を含めるようにするには、-type
引数を使用することができます。