find . -xdev -type f -size +100M
find . -type f -size +800M
find . -type f -size +800M -print0 | xargs -0 ls -l
find . -type f -size +800M -print0 | xargs -0 du -h
搜索指定目录下超过指定大小的文件(显示文件详细size)
find /u01/app/oracle/oradata/prod/ -type f -size +500M -print0 | xargs -0 du –h
搜索指定目录下超过指定大小的文件(按大小排序,严格的)
find /u01/app/oracle/oradata/prod/ -type f -size +500M -print0 | xargs -0 du -hm | sort –n
搜索指定目录下超过指定大小的文件(详细显示文件的属主、属组、文件大小(M为单位))
find /u01/app/oracle/oradata/prod/ -type f -size +500M -print0 | xargs -0 ls -lh | sort -nr
评论 (0)