💻 Software
How can I count the number of folders in a drive using Linux?
Fresh5 days ago
Mar 15, 202686756 viewsConfidence Score0%
0%
Problem
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 …
Error Output
/media/MUSIC/
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I count the number of folders in a drive using Linux?
Low Risk
Find all folders in total, including subdirectories: Find all folders in the root directory (not including subdirectories): The confines the command to the current directory (i.e., it forbids recursion); the causes it not to include the top-level di…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix