LoginSignup
1
1

More than 3 years have passed since last update.

【ターミナル】さくっとサイトのHTMLの名前一覧と数を調べる

Last updated at Posted at 2014-01-30

いろいろアプリとか入れるのはめんどいので、コマンドで。
いつも忘れるのでメモ。

HTMLの名前一覧を取得

サイト直下で

find ./ -name "*.html"

HTMLの数を取得

サイト直下で

find ./ -name "*.html" | wc -l

オプション:〜分前、〜日前から今まで触ったファイル

〜分前(現在から30分前まで)

find ./ -mmin -30

〜日前(現在から3日前まで)

find ./ -mtime -3

オプション:特定のディレクトリを除外

参考:findコマンドのmtimeオプションまとめ - Qiita

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