home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
du.zip
/
readme
< prev
Wrap
Text File
|
1993-04-29
|
1KB
|
32 lines
Unix-style du (directory usage) for OS/2
Copyright 1993 by Kenneth Porter (shiva@well.sf.ca.us).
Freely redistributable.
Code may be used if attribution given.
syntax: du [-s] [directory-list]
-s gives only summary of sizes for directories named on commandline.
If no directories are specified, the current directory is assumed.
Size of subtree given, then contribution by current node in parenthesis:
1234 ( 567) foo
This entry shows that the subtree below and including directory foo uses
1234 bytes, and foo itself contains files accounting for 567 bytes. The
remainder is in files in subdirectories below foo.
Pipe the result through the sort filter to see the space hogs grouped at
the end of the list.
Build notes:
This program was built using Borland BC for OS/2 version 1.0, using
the single-threaded run-time library DLL. The makefile is
automatically generated by the Borland IDE, so you'll need to fiddle
with the directory definitions. The Borland single-threaded runtime
DLL, c2.dll, is provided and should be installed somewhere in the
LIBPATH if you don't already have a copy.