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: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-10-12 02:15:37 PST Xref: gmd.de comp.os.vms:32432 comp.sys.dec:10781 comp.sys.hp:26070 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Date: 12 Oct 1993 06:21:31 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <29didbINNcli@gap.caltech.edu> References: <1993Sep23.161016.12926@vms.eurokom.ie> <296kj3INNokp@gap.caltech.edu> <1993Oct9.131708.18406@alpha.montagar.com>,<55190@sdcc12.ucsd.edu> Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article <55190@sdcc12.ucsd.edu>, xm9@sdcc12.ucsd.edu (Tony Burzio) writes: =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. Yup. If you want to get the total for ALL the files in the directory. How about it you want the total space allocated to the files whose names match the pattern *u* in the current directory? "du -s" doesn't do that. =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). How about if you want the total space taken up by all the files with names of the form *.com? Of course, the stupidity you demonstrate isn't surprising, seeing as how you somehow thought it appropriate to direct followups to comp.client-server. Or is it that you're as incompetent at using you newsreader as you are at reading in general? -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.