Open waterloo3122 opened 5 years ago
find . -type f -name 'mysql_log_bin.*' -exec du -ch {} + |grep total
计算某个目录下,某种类型的文件的总大小
find . -type f -name 'mysql_log_bin.*' -exec du -ch {} + |grep total