home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
522.lha
/
DU_v1.02
/
DU.doc
< prev
next >
Wrap
Text File
|
1991-06-09
|
1KB
|
38 lines
Dave's DU
V1.02
©1991 by Dave Schreiber. All rights reserved. This program may be
freely distributed. The only charges allowed in relation to distributing
this program is in relation to media, shipping, and handling costs.
This utility is based upon the Unix utility of the same name. It prints
out the size of the contents of the given directory. If there are
directories inside that directory, it will find the size of those. If they
have directories inside them, the sizes of those directories are found as
well, and so on.
There's one feature of this version that seperates it from all other
DU utilities for the Amiga: it will not act upon soft links (a part of
Kickstart version 2.00 and higher). With other DU programs, if you create
a link to a directory's parent, then perform a DU upon that directory, the
DU program will end up going around in circles. This version of DU was
created with links in mind, however, and doesn't suffer from this problem.
One other note: this version of DU is pure. This means that it can
be made resident, using the Resident command (Workbench 1.3 and higher).
You should do a 'protect DU +p' to set the pure bit on the program (not all
Amiga archivers save the pure bit).
Usage:
DU [-s][-a][<dir>]
-s -- Print only the grand total size
-a -- Print the size for each file
<dir> -- Starting directory
Compiling instructions:
lc DU
blink with DU.lnk