階層を指定して特定ファイルを数える

[ findコマンドで検索する階層を指定(maxdepth) | ubuntu | マイノリティでいこう ]
( https://blog.be-dama.com/2015/01/20/find%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%A7%E6%A4%9C%E7%B4%A2%E3%81%99%E3%82%8B%E9%9A%8E%E5%B1%A4%E3%82%92%E6%8C%87%E5%AE%9Amaxdepth/ )

 

find -maxdepth 1 -a -xtype f -a -name "*.gz"
 
 
めんどくせーw