Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!djo7613 From: djo7613@blake.acs.washington.edu (Dick O'Connor) Newsgroups: comp.sys.ibm.pc Subject: "Tree" listing files and sizes Keywords: Directories, tree-lists, file sizes Message-ID: <2142@blake.acs.washington.edu> Date: 23 May 89 19:48:30 GMT Distribution: na Organization: Univ of Washington, Seattle Lines: 25 This *has* to be simple, but the solution eludes me... It's time to clean up the old hard disk, which is up to 97 subdirectories and around 1700 files (2/3 of a 30 MB HD is full already??). Since two of us share this device, we need to have a sitdown to plan removal of unused items. All I want is a simple way to list the file name and size of every file in every subdirectory on the device. Dates/times would also be nice, but not critical. None of my DOS "Tricks" books cover this. The TREE command won't list file size. The only approach I can think of is to use TREE without the file names, then edit the output to generate a list of all of the sub- directories, which I could then feed to DIR recursively somehow and redirect the output to a file for later printing. Isn't there a simpler way? "Moby" Dick O'Connor Washington Department of Fisheries Olympia, Washington 98504 Internet Mail: djo7613@blake.acs.washington.edu **************************************************************************** DISCLAIMER: I speak only for myself, not for the Department. Here, anyway! **************************************************************************** So long, and thanks from all the fish...