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

util/cli/DiskUsageMOS.lha

Mirror:Random
Showing:ppc-morphosgeneric
No screenshot available
Short:DiskUsage estimates file space usage
Author:Torsten Poulin, port by uploader
Uploader:polluks+aminet sdf lonestar org (Stefan Haubenthal)
Type:util/cli
Version:40.8
Architecture:ppc-morphos
Date:2021-01-16
Download:http://aminet.net/util/cli/DiskUsageMOS.lha - View contents
Readme:http://aminet.net/util/cli/DiskUsageMOS.readme
Downloads:300

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/DiskUsageMOS.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  260     628  41.4% -lh5- 5c91 Dec 19 17:35 DiskUsage.info
[generic]                  661    1599  41.3% -lh5- b0a6 Dec 28 16:39 DiskUsage/DiskUsage.doc
[generic]                  264     501  52.7% -lh5- ff05 Dec 19 20:16 DiskUsage/DiskUsage.doc.info
[generic]                  981    1400  70.1% -lh5- 3ff8 Jan 13 14:13 DiskUsage/source/DiskUsage
[generic]                 2804    7457  37.6% -lh5- e3d1 Jan 16 17:02 DiskUsage/source/DiskUsage.c
[generic]                 2805    7475  37.5% -lh5- f40f Jan 13 14:20 DiskUsage/source/DiskUsage.c.bak
[generic]                  164     260  63.1% -lh5- ccfe Jan 13 14:16 DiskUsage/source/smakefile
[generic]                 3200    7152  44.7% -lh5- 89bd Jan 16 17:17 DiskUsage/DiskUsage
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         8 files   11139   26472  42.1%            Jan 17 05:11

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