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

util/cli/Count.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Counts Dirs/Files/Bytes/Blocks 1.4
Author:TMS at DAME.de (Mirko Thoele)
Uploader:TMS DAME de (Mirko Thoele)
Type:util/cli
Version:1.4
Requires:V37+
Architecture:m68k-amigaos
Date:1997-02-26
Download:http://aminet.net/util/cli/Count.lha - View contents
Readme:http://aminet.net/util/cli/Count.readme
Downloads:650

==============================================================================
Programm: Count
Version : V1.4
Datum   : 24.02.97
Funktion: Zaehlt Dirs / Files / Bytes / Blocks uebgergebener Pfade und
          Files und gibt diese Werte aus.
=============================================================================


Aufruf: Count PATH/M/A

z.B.:
-----

Hard-Disk:> Count gibtesnicht: dh0: dh1: dh2: s:Startup-Sequence ram: env:

 Seconds    Files    Dirs         Bytes        Blocks  Path
------------------------------------------------------------------------------
  125.04   24,072   2,255   444,528,549       881,182  dh0:
   61.08   13,602     725   419,787,635       827,032  dh1:
   22.97    2,948     369   210,285,828       412,364  dh2:
    0.00        1       0         4,897            10  s:Startup-Sequence
    0.08       43       8        47,173            70  ram:
    0.08       37      11        24,681            53  env:
------------------------------------------------------------------------------
  209.27   40,703   3,368 1,074,678,763     2,120,711 ( = 1,085,867,008 Bytes)
==============================================================================
                                                        Count 1.4 von M.Thoele
Hard-Disk:>



Einschraenkungen:
-----------------
Leider koennen Bytes und Total_Bytes nur bis zu 4GB aufnehmen.

Weiss jemand, wie man das anders machen kann?

(Mit DOUBLE's klappt es jedenfalls nicht - ausserdem funktioniert modulo
 dann nicht)



Changes:
--------

1.0 - 1.1 (04.01.1997)
----------------------
- Kam nicht mit Files zurecht.
- Pruefte uebergebene Pathes/Files nicht.
- Zaehlte erstes Verzeichniss nicht mit.
- Bricht nun bei CTRL-C ab.


1.1 - 1.2 (13.02.1997)
----------------------
- Prueft vorhandenen Stack, da meine Rekursivfunktion sehr viel Stack frisst.
  Es konnte vorkommen, dass Count bei zu vielen Verzeichnissebenen (ab etwa 19)
  und zuwenig Stack abstuerzte.


1.2 - 1.3 (21.02.1997)
----------------------
- Zaehlt nun die Zeit mit, die benoetigt wird, einzelne Eintraege
zusammenzuzaehlen. 
  Ist nicht mehr als eine Spielerei, aber ich fand es interessant.


1.3 - 1.4 (21.02.1997)
----------------------
- Microsekunden auf 2 Stellen abgerundet.
- Es werden hinter den benutzten Block die Anzahl der tatsaechlich
  verbrauchten Bytes angezeigt.


Contents of util/cli/Count.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2853    4564  62.5% -lh5- 6037 Feb 24  1997 Count
[generic]                 1115    2519  44.3% -lh5- b919 Feb 24  1997 Count.readme
[generic]                  102     124  82.3% -lh5- 1329 Feb 24  1997 file_id.diz
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    4070    7207  56.5%            Feb 26  1997

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