Short:        Comments & moves files found in aminet-INDEX
Author:       Achim Gorski
Uploader:     Achim Gorski
Type:         util/misc
Architecture: m68k-amigaos


ComAmNet        © 1994-95  Achim  Gorski     Ver.1.2b
                *** THIS IS STRICLY PUBLIC DOMAIN ***


ComAmNet  searches  the given filename(case sensitive) in the file RECENT,
LOCAL  or  INDEX (available on AMINET-servers) and comments the filename !
Then  ComAmNet moves the file to move_path/aminet_path/filename and writes
the  file-information  to an index-file.  RECENT, LOCAL, or INDEX and TREE
should be in the directory of <filename> or in S:  .

Option n switchs off moving and logfile(index).

Usage: prg <filename> <indexname> <move_path> [option] n

--------------------------------------------------------------------------

Example:
ComAmNet ComAmNet.lha dh0:aminet/INDEX.local dh0:aminet/

That comments & moves ComAmNet.lha to dh0:aminet/util/misc/ComAmNet.lha
                                                 ^^^^^^^^^
                                                aminet_path
and writes the index-information to dh0:aminet/INDEX.local

Example:
ComAmNet ComAmNet.lha n

That comments ComAmNet.lha

Example:
ComAmNet ComAmNet.lha dh0:aminet/INDEX.local dh0:aminet/ n

That comments ComAmNet.lha

--------------------------------------------------------------------------


->> That´s it !



/*** History ******

 v1.01  - First public release (stage: beta)
 v1.1   - Improved moving (speed up)
        - Search function improved
        - Some INDEX bugs removed
        - Used memory now depends on free memory !

 v1.2   - searches for RECENT,LOCAL and INDEX and reads the first found
        - needed memory is >= (filelength found data-base)
        - max. 78 chars information in filenote
        - 104 chars per line in INDEX-file
        - searches <filename> in RECENT,LOCAL and INDEX
                                (if found in the same dir )
        - searches RECENT,LOCAL or INDEX in current directory and in S:  !!
          ComAmNet prefers the data-base in the current directory

 v1.2a  - creates [aminet_path] if not available and comments it  (ComAmNet
          uses file 'tree' in current dir or 'S:tree' as data-base )
        - creates logfile named T:ComAmNet.log !
        - strips path from <filename>
        - not necessary anymore to be in the same directory as <filename> !!

 v1.2b  - now moving <filename>.readme
        - converts MSDOS uppercase filenames to AMIGA filenames
        - ComAmNet is now PURE, so it's possible to make it resident

 *****************/



Hint:
Use ComAmNet with DOpus:
        Example:

        Flags:
        CD source
        Do all files
        Output window
        Recursive directories
        Run asynchronously
        Workbench to front

        Entry:
        ComAmNet {o} ah0:aminet/INDEX.local ah0:aminet/

        or:
        ComAmNet {o} n
