簡單.減嘆
2015年7月18日 星期六
Find the latest modified file in a directory recursively.
find . -type f -printf "%T@\0%p\0" | awk '
{
if ($0>max) {
max=$0;
getline mostrecent
} else
getline
}
END{print mostrecent}' RS='\0'
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言