1

i have a lot of files in the desktop directory but i dont know why when i use tree command to list all files for me in tree like order it just shows me the folders.

Here is how it does list the Desktop Dir:

enter image description here

while this problem doesn't simply occur for the book i currently go through and it lists the directory like this:

Now see this one to get my point:

enter image description here

for me not only it does not show's the files but also as you see in the second picture... it doesn't show me how many files are in it either.

if this is natural please tell me.

moh80s
  • 135

2 Answers2

3

The tree command by default displays only folders names. It does not display file-counts.

To also display the files, use the /f parameter:

tree c:\ /f

To better analyze the disk-space, you may use a free third-party product. See the article Best Free Disk Space Analyzer for a list of such products with reviews.

harrymc
  • 498,455
0

You need to do: tree /F

Normal tree only does directories.

DDiamond
  • 161