Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Find Large Files

Find all files from the current folder 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 folder 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


Copyright © 1995-2020 Togaware Pty Ltd
Support further development through the
purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.