I am having a few situations to which I do not see any thing in du man pages.
-
I want to see files in a sub directory which are larger than a particular size only.
-
I use
du -sh > du_output.txt
I see the output as described for options-s
and-h
.
However, what I am more interested in, is if the output comes in a format which
is
say for exampledir0—>dir1–>dir3–>dir4
| |
->dir2 |-file1
|-file2
If the above is directory layout and I want to just see the size of individual directories in all the subdirectories then what can I do (the depth of each subdirectory is variable)
Best Answer
I like the gt5 utility. It use the output of
du
and creates a browsable listing of directories and their sizes and uses a text-mode browser such as links to display the information.Both programs are available in the Ubuntu repositories: gt5 and links.