Directory size including contents?

Does anyone know of a Linux command that recursively determines the total diskspace consumed by a directory including all it's contents of sub-directories and files? I cannot find the correct options to use with tree or du commands so they work like the treesize.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar16.webp

3 Posts
Location -
Joined 2005-06-08
Does anyone know of a Linux command that recursively determines the total diskspace consumed by a directory including all it's contents of sub-directories and files? I cannot find the correct options to use with tree or du commands so they work like the treesize.exe program for Windows.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar03.webp

305 Posts
Location -
Joined 2003-08-30
du -s
 
man du for more options