AminetAminet
Search:
83471 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/DiskUsage.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:DiskUsage estimates file space usage
Author:Torsten Poulin
Uploader:torpou+aminet gmail com (Torsten Poulin)
Type:util/cli
Version:40.8
Architecture:m68k-amigaos >= 2.04
Date:2021-01-13
Download:http://aminet.net/util/cli/DiskUsage.lha - View contents
Readme:http://aminet.net/util/cli/DiskUsage.readme
Downloads:438

DiskUsage estimates disk space usage.

Format:   DiskUsage [[DIR | DIRS] directory ...] [SUMMARY | BRIEF]
                    [NOHEAD] [NOTOTAL] [NOBL | NOBLOCKS] [NOKB | NOKILOBYTES]

Template: DIR=DIRS/M,SUMMARY=BRIEF/S,NOHEAD/S,NOTOTAL/S,
          NOBL=NOBLOCKS/S,NOKB=NOKILOBYTES/S


The DiskUsage command gives an estimate of the disk space occupied by the
directories specified on the command line.

Patterns can be used to specify the directories.

If no directory is specified, the current directory is used.

Subdirectories are traversed recursively.

A grand total will be printed if more than one directory was specified.

Switches:

    BRIEF:       Do not print information about subdirectories.
    NOBLOCKS:    Suppress the blocks column.
    NOHEAD:      Do not print the headline.
    NOKILOBYTES: Suppress the kilobytes column.
    NOTOTAL:     Do not print the grand total..

    NOBL:        Synonym for NOBLOCKS.
    NOKB:        Synonym for NOKILOBYTES.
    SUMMARY:     Synonym for BRIEF.

Example:

    1> DiskUsage df0:#? summary
        Blocks  Kilobytes
             0          0 df0:WBStartup
           420        199 df0:C
           295        143 df0:Classes
            18          8 df0:L
           179         82 df0:Devs
             0          0 df0:Expansion
           503        247 df0:Libs
            13          3 df0:Prefs
            23         10 df0:Rexxc
            17          7 df0:S
            77         36 df0:System
             0          0 df0:T
           119         58 df0:Utilities
     --------- ----------
          1664        793

Binary, source code, and documentation included.
Under 2-clause BSD License.


Contents of util/cli/DiskUsage.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  260     628  41.4% -lh5- 5c91 Dec 19 17:35 DiskUsage.info
[unknown]                  981    1400  70.1% -lh5- 3ff8 Jan 13 14:21 DiskUsage/DiskUsage
[unknown]                  661    1599  41.3% -lh5- b0a6 Dec 28 16:39 DiskUsage/DiskUsage.doc
[unknown]                  264     501  52.7% -lh5- ff05 Dec 19 20:16 DiskUsage/DiskUsage.doc.info
[unknown]                  981    1400  70.1% -lh5- 3ff8 Jan 13 14:13 DiskUsage/source/DiskUsage
[unknown]                 2805    7475  37.5% -lh5- f40f Jan 13 14:20 DiskUsage/source/DiskUsage.c
[unknown]                  164     260  63.1% -lh5- ccfe Jan 13 14:16 DiskUsage/source/smakefile
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         7 files    6116   13263  46.1%            Jan 14 05:11

Aminet © 1992-2021 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>