Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!cfctech!pte!kiy From: kiy@pte.UUCP (Kevin Young) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: files by size Summary: if you have the MKS Toolkit, use find... Keywords: mks find Message-ID: <3004@pte.UUCP> Date: 18 Oct 89 20:56:40 GMT References: <451@ringwood.Morgan.COM> Reply-To: kiy@pte.UUCP (Kevin Young) Distribution: usa Organization: Precise Technology & Electronics, Warren, MI Lines: 25 In article <451@ringwood.Morgan.COM> joec@Morgan.COM (Joe Collins) writes: >Does anyone know of a program which would scan your hard disk, floppy, etc >and sort ALL files by size, data, etc? ... > >joec@morgan.com If you have the MKS Toolkit (which I highly recommend), you can use the find command. A line something like: find c: -size +200 -print will give you all files > 200 blocks (1 block = 512 bytes). You could also mix in the ls (directory list command) with the -s option: find c: -exec ls -s {} ; | sort which would give you the block size followed by the file name for all files sorted by ascending block size. Hope this helps! Kevin -- >|< Kevin I Young uunet!edsews!pte!kiy Precise Technology & Electronics, Inc. Custom Automated Test and Measurement Equipment for Industry Old Saying: "If you can't do it in real time, then don't do it at all" - me