Linux 的 find 指令使用範例與教學



檔案size大小

找檔案大於500Kb,並且列出來查看
find ./ -type f -size +500k | xargs ls -alh
or
find ./ -type f -size +500k -exec ls -alh {} \;

其他選項有100M



參考
Unix/Linux 的 find 指令使用教學、技巧與範例整理
https://blog.gtwang.org/linux/unix-linux-find-command-examples/

留言