I need to organise an external HDD such that there is no more than 500 folders on it. Ubuntu's "Properties" pane shows only the file count, not the folder count.
Is there a simple command line that will tell me the number of subdirectories?
I need to count recursively, and the drive is an external HDD mounted at /media/MUSIC/
.
It's for a car stereo system whose documentation says it only reads the first 500 folders.