home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / du.zip / readme < prev   
Text File  |  1993-04-29  |  1KB  |  32 lines

  1. Unix-style du (directory usage) for OS/2
  2.  
  3. Copyright 1993 by Kenneth Porter (shiva@well.sf.ca.us).
  4. Freely redistributable.
  5. Code may be used if attribution given.
  6.  
  7. syntax: du [-s] [directory-list]
  8.  
  9. -s gives only summary of sizes for directories named on commandline.
  10.  
  11. If no directories are specified, the current directory is assumed.
  12.  
  13. Size of subtree given, then contribution by current node in parenthesis:
  14.  
  15.       1234 (       567) foo
  16.  
  17. This entry shows that the subtree below and including directory foo uses
  18. 1234 bytes, and foo itself contains files accounting for 567 bytes. The
  19. remainder is in files in subdirectories below foo.
  20.  
  21. Pipe the result through the sort filter to see the space hogs grouped at
  22. the end of the list.
  23.  
  24. Build notes:
  25.  
  26. This program was built using Borland BC for OS/2 version 1.0, using
  27. the single-threaded run-time library DLL.  The makefile is
  28. automatically generated by the Borland IDE, so you'll need to fiddle
  29. with the directory definitions.  The Borland single-threaded runtime
  30. DLL, c2.dll, is provided and should be installed somewhere in the
  31. LIBPATH if you don't already have a copy.
  32.