I may know a tiny bit about browsers but it's clear that I still know zilch about Linux. What, pray, is the command line -- or, gulp, even GUI -- way to get the total size of everything in a given directory tree? "size directoryname" of course tells me "directoryname: Is a directory"; while "ls -R -l" within the directory gives me a list of figures whereas I'd like a total. (I realize that because of cluster sizes -- or whatever the analogous term is in Linux/Reiserese -- there may be more than one total. I'll settle for any total.) With thanks and apologies for ignorance.
What, pray, is the command line -- or, gulp, even GUI -- way to get the total size of everything in a given directory tree? "size
du -sch directoryname -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.2) GNOME updates for SuSE: http://www.usr-local-bin.org
Try man du : NAME du - estimate file space usage SYNOPSIS du [OPTION]... [FILE]... DESCRIPTION Summarize disk usage of each FILE, recursively for direc tories. <snip> Hope this helps, Jason On Tuesday 01 July 2003 12:04 pm, Peter Evans wrote:
I may know a tiny bit about browsers but it's clear that I still know zilch about Linux.
What, pray, is the command line -- or, gulp, even GUI -- way to get the total size of everything in a given directory tree? "size directoryname" of course tells me "directoryname: Is a directory"; while "ls -R -l" within the directory gives me a list of figures whereas I'd like a total. (I realize that because of cluster sizes -- or whatever the analogous term is in Linux/Reiserese -- there may be more than one total. I'll settle for any total.)
With thanks and apologies for ignorance.
participants (3)
-
James Ogley
-
Jason
-
Peter Evans