home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff345.lzh / Du / du.doc < prev    next >
Text File  |  1990-04-16  |  1KB  |  41 lines

  1.  
  2. Format:        DU [-A][-S][<name>*]
  3.  
  4. Template:      DU "-A/S,-S/S,"names"
  5.  
  6. Purpose:       To tell you how many disk blocks are used by files
  7.  
  8.  
  9. Specification:
  10.  
  11. DU tells the user how many disk blocks are used by files or directories.
  12. DU without any arguments will give the total number of disk blocks used
  13. by files within the current directory and any subdirectories below it. If
  14. the -A switch is used, the command will list each file with the number of
  15. blocks used by it next to its name. Directories will be signified by (dir)
  16. following the name and the total number of blocks used by files and
  17. directories within it will follow that. The -S switch will give the sum
  18. only for the directory names given it. The command is typically used to
  19. determine if sufficient room exists on a disk for a file or subdirectory
  20. to be copied to it. The -A and -S switches are mutually exclusive.
  21.  
  22. Examples:
  23.  
  24. DU df1:
  25.  
  26. gives total number of blocks used by files and subdirectories of df1:
  27. without listing each file name (lists directories only).
  28.  
  29. DU -S df1:
  30.  
  31. gives the total number of blocks used by files and subdirectories of df1:
  32. without listing each subdirectory name.
  33.  
  34. DU -A df1:c
  35.  
  36. gives the number of blocks used by each file and subdirectory within df1:c
  37. while listing each file.
  38.  
  39. See also:
  40.          INFO,COPY
  41.