LoginSignup
9
7

More than 3 years have passed since last update.

treeコマンドで除外する条件を複数指定したい

Posted at

事前に、

brew install tree

でtreeコマンドをインストールしておく必要があります。(macにはtreeコマンドはインストールされていないので)

コマンド

tree -I "*.html|*.png|*.jpg"

こういった形で、

"条件式|条件式|条件式"

という形でパイプでつないであげるといけます。

幸せいっぱいですね。

9
7
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
9
7