LoginSignup
1
1

More than 5 years have passed since last update.

特定ディレクトリ以下を除外し、特定日付より新しいファイルを合算させてみた

Last updated at Posted at 2015-02-10

もっといい方法教えてください( *´Д⊂ グスン…
MB表示とかyyyy-yyyy間だけ拾う方法とか・・・・

# touch -t yyyymmddxxxx.xx ファイル名
# find ./ -name "除外ディレクトリ" -prune -o -print -type f -newer /tmp/dateファイル -printf "%s\n"  |perl -ne '$sum += $_; print "\r$sum"' 
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