Hello I would like to know what command(s) is used to get size of all files in current directory (including sub-dirs). Regards, himba -- This €-mail was Kmailed.
-----Original Message-----
From: himbA
Hello I would like to know what command(s) is used to get size of all files in current directory (including sub-dirs).
Regards, himba
du = disk usage du -sk = subtotal/kilobytes du -sk <dir> = subtotal/kilobytes on directory Ken
On Sunday 25 May 2003 12:44 pm, himbA wrote:
Hello I would like to know what command(s) is used to get size of all files in current directory (including sub-dirs).
Regards, himba -- This €-mail was Kmailed.
I have a little script I call 'dirsize'. It shows you the size of the current directory and everything below it if you just issue 'dirsize' or dirsize dir1 dir2 dir3 if you provide arguments. #!/bin/sh echo " " echo "MBytes" du -hmcs $* -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 05/25/03 12:59 + +----------------------------------------------------------------------------+ "Why does your nose run, and your feet smell?"
I would like to know what command(s) is used to get size of all files in current directory (including sub-dirs). man du also man df (tip is to use -csm ) t
Regards, himba -- This €-mail was Kmailed.
I have a little script I call 'dirsize'. It shows you the size of the current directory and everything below it if you just issue 'dirsize'
or dirsize dir1 dir2 dir3
if you provide arguments.
#!/bin/sh echo " " echo "MBytes" du -hmcs $*
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 05/25/03 12:59 + +----------------------------------------------------------------------------+ "Why does your nose run, and your feet smell?"
participants (5)
-
Bruce Marshall
-
himbA
-
Ken Schneider
-
Oskar Teran
-
Tarjei Huse