home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
TMLS.ZIP
/
LS.DOC
next >
Wrap
Text File
|
1993-07-30
|
2KB
|
43 lines
ls.doc - documentation for LS - Copyright 1987-1993 TDRMSoft
LS is like DIR, with many more options and prettier output. It can
sort by size or time, produce various information for each file, and
recurse into subdirectories, listing those files in several ways.
Note: files are always listed in lowercase, directories in UPPERCASE.
Usage: ls [-adefnprstxAEFNRST] drv:\path\filespec
Sorting:
-a sort files by attribute Upper and lower case are different:
-e sort files by file extension Uppercase -- list only filenames,
-f sort files by filename five names per line.
-n no sorting, leave in order found Lowercase -- list all details,
-s sort files by size one file per line.
-t sort files by time
-x disregard files with extensions: .exe, .obj, .map, .exp
Pathname handling:
-p: if giving details, prefix filename with it's path
else give one file per line, printing only path and filename
Without -p, lists only filenames without paths.
Recursing into subdirectories:
-r: group files from all subdirectories together
-R: group files from each subdirectory separate
if p was not specified, give line indicating directory
and a sub-total (# of files, total size) for each directory
Examples:
List files of current directory, 5 per line: ls
List files of all subdirectories, 5 per line: ls -R
List files of all subdirectories, sort by size: ls -rps
Note: the second example lists each subdirectory separately,
while the last groups all files together, in size order.
If you use this program regularly, please send $10.00 to:
TDRMSoft
400 Central Park West - 20R Source code in C available for $50.00
New York, NY 10025-5858 Tom Milne
(212)-865-2719 TMILNE@AOL.COM