purl in your heart
2010年1月25日星期一
search for the latest file create time in more than one directories, with respect to time zone
TZ=Asia/Shanghai perl -MPOSIX -le 'print map {$_=strftime(q(%Y-%m-%d %H:%M:%S),localtime($_))} (sort( map { (stat($_))[10] } map {glob(qq($_/*))} @ARGV))[-1]' /tmp .
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论