Sponsored Content
Special Forums Windows & DOS: Issues & Discussions List Contents of Drive by size Post 302279302 by methyl on Thursday 22nd of January 2009 11:07:02 AM
Old 01-22-2009
I don't think you can do this with one "dir".
For help on dir options:
dir /?

Example of all non-hidden files and directories by reverse order of size.

dir /o:-s /s /p

The same for hidden files.

dir /a:h /o:-s /s /p
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

How to a see the contents of my CD drive

in a Scoopen server station. In a windows based system you just go to mycomputer- and than double click the cd rom drive icon...simple....But i need to see the same but for a SCO open server....i want the same for a floppy drive tooo... By the way, i tried (scoadmin ) command but couldnt go... (1 Reply)
Discussion started by: BAM
1 Replies

2. UNIX for Dummies Questions & Answers

How to a see the contents of my CD drive

How to a see the contents of my CD drive in a Scoopen server station. In a windows based system you just go to mycomputer- and than double click the cd rom drive icon...simple....But i need to see the same but for a SCO open server....i want the same for a floppy drive tooo... By the way, i... (4 Replies)
Discussion started by: BAM
4 Replies

3. Shell Programming and Scripting

question on du for dire. size on tape and drive

Is there a method to see how much data is put on a tape? Or to check and see the size of what you are tarring to tape? I have a script that checks a partition and user's directories and excludes anything under a home/test directory and writes that to a text file, then I call tar and using that... (1 Reply)
Discussion started by: kymberm
1 Replies

4. SCO

Maximuim size hard drive in SCO 5.05

Does anyone remrmber what the maximum hard drive size is for SCO 5.0.5? Also, do I need to plug in the Cylinders/Heads/Sectors manually? I know in ver 5.0.7, you can go over 137GB. TiA (0 Replies)
Discussion started by: tbgeek
0 Replies

5. UNIX for Dummies Questions & Answers

list contents of directory

I want to list the contents of a directory, but I do not want to use the ls, is there another way?? (3 Replies)
Discussion started by: carl_vieyra
3 Replies

6. Shell Programming and Scripting

list files and contents

I have a group of getOSinfo.out files that I would like to list the filename and then its contents out to. I can do it for each one individually, but would prefer to do it all in one shot and have one large file that has all of the oslevels and filenames. I am not very handy with scripts, so I... (2 Replies)
Discussion started by: snakernetb
2 Replies

7. Solaris

reduce hard drive size

I'm trying to reduce hard drive size (number of cylinders) in SPARC Solaris. Its easy to change last cylinder of last slice, but that cannot be done for slice2/backupslice because it insists on whole disk. If I try to change disk type/geometry, all slices get replaced with some 'default'... (1 Reply)
Discussion started by: orange47
1 Replies

8. Shell Programming and Scripting

Copy contents of whatever's loaded into the CD drive

Hello everyone, I have about 1500 compact discs of seismic data that I need to retrieve and place onto the hard drive so that I can index and process them. The data was generated at 20 seismic stations and each disc has a been assigned unique name. The name is NOT necessarily what is on the... (7 Replies)
Discussion started by: ws6transam
7 Replies

9. AIX

max drive size for 7028 p Series

We have an eight year old IBM P series 7028 model server running AIX 5.2, and are thinking about installing some bigger drives. The current ones are 78GB in a RAID5 array. It looks like there are 146 and 300GB drives available. Just wondering what a realistic size drive to install would be that... (3 Replies)
Discussion started by: markper
3 Replies

10. Solaris

Possible to increase swap size for existing UFS-based drive slice?

I like to increase swap size for my current server running solaris 10. Seems like the system is not using it's full 16G of physical memory. #swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s1 32,1 16 1058288 1058288 # swap -s total: 4125120k bytes... (17 Replies)
Discussion started by: JT-KGY
17 Replies
diskinfo(1M)															      diskinfo(1M)

NAME
diskinfo - describe characteristics of a disk device SYNOPSIS
character_devicefile DESCRIPTION
The command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If so, summarizes the disk's characteristics. The command displays information about the following characteristics of disk drives: Vendor name Manufacturer of the drive (SCSI only) Product ID Product identification number or ASCII name Type Floppy or SCSI classification for the device Disk Size of disk specified in bytes Sector Specified as bytes per sector Both the size of disk and bytes per sector represent formatted media. Options The command recognizes the following options: Return the size of the disk in 1024-byte sectors. Display a verbose summary of all of the information available from the device. For floppy drives, this option has no effect. SCSI disk devices return the following: Vendor and product ID Device type Size (in bytes and in logical blocks) Bytes per sector Revision level SCSI conformance level data DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. However, one diagnostic message deserves further clarification. If the command fails to access the lunpath corresponding to a given special file, it displays the following diagnostics data, which contains device iden- tification and capability information: device type 127 (unknown); device is inaccessible iso ecma ansi rmb dtq resv rdf WARNINGS
As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to inquiries as if they were SCSI devices. There- fore, the text "SCSI describe" in the output of the command does not definitively mean that the disk is in fact a SCSI drive (especially in the case of CD-ROMs). Use to check which type of INTERFACE node, SCSI or IDE, the device's hardware path lies beneath, in order to defini- tively determine a drive's interface. DEPENDENCIES
General The command supports floppy and HP SCSI disk devices. SCSI Devices The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, may be unable to interpret all of the data returned by the device. Refer to the drive operating manual accompanying the unit for more information. AUTHOR
was developed by HP. SEE ALSO
ioscan(1M), lsdev(1M), disktab(4), disk(7). diskinfo(1M)
All times are GMT -4. The time now is 05:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy