find 搜索目录 !排除目录可写多个,示例如下:
#!/bin/bash
find /data/ ! -path "/proc/*" ! -path "/home/*" -type f -size +500M | sort -rh|xargs ls -lh | awk '{ print $9 ": " $5 }'
网友回复
find 搜索目录 !排除目录可写多个,示例如下:
#!/bin/bash
find /data/ ! -path "/proc/*" ! -path "/home/*" -type f -size +500M | sort -rh|xargs ls -lh | awk '{ print $9 ": " $5 }'
网友回复