home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / dos_util / tmls.zip / LS.DOC next >
Text File  |  1993-07-30  |  2KB  |  43 lines

  1. ls.doc - documentation for LS - Copyright 1987-1993 TDRMSoft
  2.  
  3.     LS is like DIR, with many more options and prettier output.  It can
  4. sort by size or time, produce various information for each file, and
  5. recurse into subdirectories, listing those files in several ways.
  6. Note: files are always listed in lowercase, directories in UPPERCASE.
  7.  
  8. Usage:  ls [-adefnprstxAEFNRST] drv:\path\filespec
  9.  
  10. Sorting:
  11.   -a sort files by attribute              Upper and lower case are different:
  12.   -e sort files by file extension         Uppercase -- list only filenames,
  13.   -f sort files by filename                  five names per line.     
  14.   -n no sorting, leave in order found     Lowercase -- list all details,
  15.   -s sort files by size                      one file per line.
  16.   -t sort files by time
  17.  
  18.   -x disregard files with extensions: .exe, .obj, .map, .exp
  19.  
  20. Pathname handling:
  21.     -p: if giving details, prefix filename with it's path
  22.         else give one file per line, printing only path and filename
  23.         Without -p, lists only filenames without paths.
  24.  
  25. Recursing into subdirectories:
  26.     -r: group files from all subdirectories together
  27.     -R: group files from each subdirectory separate
  28.             if p was not specified, give line indicating directory
  29.             and a sub-total (# of files, total size) for each directory
  30.  
  31. Examples:
  32.    List files of current directory, 5 per line:      ls
  33.    List files of all subdirectories, 5 per line:     ls -R
  34.    List files of all subdirectories, sort by size:   ls -rps
  35.    Note: the second example lists each subdirectory separately,
  36.    while the last groups all files together, in size order.
  37.  
  38. If you use this program regularly, please send $10.00 to:
  39.     TDRMSoft
  40.     400 Central Park West - 20R        Source code in C available for $50.00
  41.     New York, NY 10025-5858                Tom Milne
  42.     (212)-865-2719                         TMILNE@AOL.COM
  43.