Check folder size
![Autocad cost](https://cdn3.cdnme.se/5447227/9-3/21_64e61dfdddf2b33c615a3cd4.png)
![check folder size check folder size](https://m.media-amazon.com/images/I/51fRrmaJpNL._SL500_.jpg)
It’s sometimes useful to search the whole Linux filesystem for large files. test -type f -size +100M Searching the Whole Linux Filesystem For Large Files This means we can search the test directory from the home directory. We can run the same command as in the previous section but replace the “.” with a specified path. Use the same command, but this time specify a path to search. We only have one file in our test folder Baby_Yoda.obj that is larger than 100MB. Finally the +100M argument specifies that the command will only return files larger than 100MB in size. The -type f argument specifies returning files as results.
![check folder size check folder size](https://thumbs.dreamstime.com/z/check-mark-folder-concept-d-illustration-white-background-77126585.jpg)
We are working inside our test directory and the “.” indicates to search the current directory. Use find to search for any file larger than 100MB in the current directory. We can also use the find command in combination with the -size argument specifying a size threshold where any file larger than specified will be returned.\ġ. In another article, we explained how to find files in Linux using the find command to search based on a filename or part of a filename.
![Autocad cost](https://cdn3.cdnme.se/5447227/9-3/21_64e61dfdddf2b33c615a3cd4.png)