Answer the question
In order to leave comments, you need to log in
How to find folders with the most files in linux?
Actually, it is not the size of the directory in bytes that is of interest, but the number of files in the folder.
Answer the question
In order to leave comments, you need to log in
a little faster:
find / -print0 | xargs -0 dirname | uniq -c | sort -n -k 1 | tail -1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question