LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the folder size? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-folder-size-447009/)

cupoftea 05-21-2006 10:13 AM

What is the folder size?
 
How do I check what is the total space the folder and its subordinates is consuming?

dannystaple 05-21-2006 10:19 AM

From the command line, you can run the command "du". This is disk usage reporting. It has many options (which you can get the full detail of with "man du" at your command prompt). The ones I normally use are -h - for human, and -s for summarise.

Code:

du -sh .
The dot here specifies the current directory, but could be replaced wiht any path.

It may take a while depending on how many files are in the directory.

If you are looking for graphical means, most file managers will probably allow you to right click on a folder and get the disk space usage.

Danny


All times are GMT -5. The time now is 06:55 AM.