yicr
12/29/2019 - 1:03 PM

Cmd : find : Tips / search file and result file compressing

30日前のログファイルを検索して圧縮

$ find . -name "*.log" -mtime +30 -type f | xargs gzip