Search file with find on Linux

$ find . -type f -size +1000M. # search file which bigger than 1GB

$ find / -type f -size +1000G  # search file which bigger than 1TB

$ find / -type f -size -10000G -size +1000G | xargs -0 ls -lh # 1T < file size < 10T

references

$ find / -type f -size +1000G -ls

https://ostechnix.com/find-files-bigger-smaller-x-size-linux/


這個網誌中的熱門文章

Upgrade php and httpd(apache) on CentOS 7

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)