sh 来自http://stackoverflow.com/questions/17419337/calculate-total-used-disk-space-by-files-older-than

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 来自http://stackoverflow.com/questions/17419337/calculate-total-used-disk-space-by-files-older-than相关的知识,希望对你有一定的参考价值。

find . -type f -mtime +1825 -printf '%s\n' | awk '{a+=$1;} END {printf "%.1f GB\n", a/2**30;}'

以上是关于sh 来自http://stackoverflow.com/questions/17419337/calculate-total-used-disk-space-by-files-older-than的主要内容,如果未能解决你的问题,请参考以下文章

sh Bash - 时间戳功能示例 - 来自http://stackoverflow.com/questions/17066250/create-timestamp-variable-in-bash

sh Bash - 时间戳功能示例 - 来自http://stackoverflow.com/questions/17066250/create-timestamp-variable-in-bash

sh 暂时更改bash中的当前工作目录以运行命令 - 来自http://stackoverflow.com/questions/10382141/temporarily-change-

sh 来自http://stackoverflow.com/questions/9210446/replace-local-branch-with-remote-branch-entirely

sh 来自http://stackoverflow.com/questions/9210446/replace-local-branch-with-remote-branch-entirely

sh 为WordPress安装设置正确的文件权限 - 来自http://stackoverflow.com/questions/18352682/correct-file-permissions-fo