Gustavo Seabra wrote:
On Mon, 07 Mar 2005 11:10:14 -0500, Bob Goodwin <bobgoodwin@xxxxxxx> wrote:Ok, that's exactly what I needed. I knew there was a command I'd seen but couldn't find it.
I have several ways to display directory and file listings but none total the directory size. I would like to know the size before attempting to copy to a CD for back up. xcdroast tells me after I've entered all the data but by that time I may have too much or less than optimum.
How can I get the size in advance?
Bob Goodwin Zuni, Virginia
The command you need is ' du ' (for disk usage, I believe). ' man du ' for more details. If you just want the size of the current directory (including subdirectories)
$ du -sh
Incipient Altzheimers perhaps?
Thanks much.
Bob Goodwin