動作環境
Xeon E5-2620 v4 (8コア) x 2
32GB RAM
CentOS 6.8 (64bit)
openmpi-1.8.x86_64 とその-devel
mpich.x86_64 3.1-5.el6とその-devel
gcc version 4.4.7 (とgfortran)
NCAR Command Language Version 6.3.0
WRF v3.7.1を使用。
find (GNU findutils) 4.4.2
WRF(Weather Research and Forecasting Model)関連。
昨日処理したwrfout_***ファイルを検索したい。
参考 http://unix.stackexchange.com/questions/10041/how-to-get-only-files-created-after-a-date-with-ls
$ find . -mtime -1 | grep wrfout
./wrfout_d02_2016-10-20_00:00:00
./wrfout_d01_2016-10-20_00:00:00
./wrfout_d03_2016-10-20_00:00:00
man find
-mtime n
File’s data was last modified n*24 hours ago. See the comments for -atime to understand how
rounding affects the interpretation of file modification times.
n * 24 hours ago
と記載しているが、-mtime 1
でなく-mtime -1
として指定するようだ。
多分。