I thought the method to find all the folders that have more than 1GB of content would be:
find . -type d -size +1G
where . is the path here and if we want to do it from the root directory:
sudo find / -type d -size +1G
However, nothing was found when I know for sure there are folders that have more than 1GB of content. How is that done?
I also tried Finder and when we press space in the search field, the criterion to add has "File Size" but not "Folder Size".
Gmay not be that great if the requirement changes to larger than 5GB or 15GB – nonopolarity Nov 28 '20 at 03:34