I want to display all directories that are smaller than 4MB using find command.
Already tried find / -type d size -4000000c
(same with a dot instead of /
) but both combinations display files too. What kind of switch should I put here search only for directories? Maybe there is another command for this purpose?
enter image description here
New contributor
Paprotti is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.