GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Find Large Files |
Find all files from the current directory that are larger than 100M:
$ find . -size +100M -exec ls -sh {} \; 470M ./github/fred/abcd/temp/multi/multi_test.jsonl 125M ./github/mymodels/primer/primer_1.2.1.mon 418M ./projects/r/data.csv 144M ./projects/data/cans.csv 337M ./projects/training/sample.csv 108M ./projects/home/engaged_s12.mp4 |
Find all files from the current directory that are larger than 50M and smaller than 100M:
$ find . -size +50M -size -100M -exec ls -sh {} \; 61M ./gitlab/mymodels/sample/goto.model 84M ./projects/r/train.csv 56M ./projects/home/engaged_s11.mp4 60M ./bitbucket/rattle/etc/credit.Rdata |