Linux Today: Linux News On Internet Time.

More on LinuxToday

Tech Tip: Find Directories Over a Certain Size

Nov 17, 2009, 21:33 (0 Talkback[s])
(Other stories by Da A Feng)

"The script prints those directories under a given path whose size is above a certain threshold. It also allows you to exclude directories that match a certain pattern from consideration. The command accepts the following options:

* -d - Specifies the base directory to search.
* -t - Specifies the threshold in megabytes (eg 100 == 100MB).
* -x - Specifies the patterns to ignore (glob patterns).

"The following examples show how it can be used:"

Complete Story

Related Stories: