Directory size including contents?

This is a discussion about Directory size including contents? in the Everything Linux category; 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 , . Last reply 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 11
Created
Jun 11
Last Response
0
Likes
<1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar03.webp

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