From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-10-10 11:31:39 PST Xref: gmd.de comp.client-server:1499 comp.os.vms:32321 comp.sys.dec:10749 comp.sys.hp:25996 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!galaxy.ucr.edu!network.ucsd.edu!sdcc12!xm9 From: xm9@sdcc12.ucsd.edu (Tony Burzio) Newsgroups: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Summary: Summary of file sizes Keywords: disk Message-ID: <55190@sdcc12.ucsd.edu> Date: 10 Oct 93 18:14:44 GMT References: <1993Sep23.161016.12926@vms.eurokom.ie> <296kj3INNokp@gap.caltech.edu> <1993Oct9.131708.18406@alpha.montagar.com> Sender: news@sdcc12.ucsd.edu Followup-To: comp.client-server Organization: Arete Associates, San Diego, CA Nntp-Posting-Host: sdcc12.ucsd.edu In article <1993Oct9.131708.18406@alpha.montagar.com> davidc@alpha.montagar.com (David L. Cathey) writes: >> =You mean, like "du" or "ls -s" ? >> Sorry, neither of these gives the total amount of space used by a subset of >> files. I.e., he's asking: What's the equivalent of DIRECTORY/SIZE=ALL/GRAND. du -s * gives the total block usage for each file in the current directory. Since directories are files, a directory "summary" includes all files contained in the directory. It's fast too. The real problem, however, is that one forgets that UNIX can take multiple files as parameters. The command du -s file1 directory1 file2 directory2 will give grand totals for 4 files (two of which are directories). Tony Burzio Arete Associates San Diego, CA