Short: comments & moves files found in RECENT,LOCAL,INDEX
Type: util/misc
Uploader: gorski@sun.ph-cip.uni-koeln.de
Author: gorski@sun.ph-cip.uni-koeln.de


ComAmNet  © 1994 Achim Gorski   Ver.1.2a  *** 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 !  After that
ComAmNet  moves  the  file  to  move_path/aminet_path/filename  and  writes the
file-information to an index-file.

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> !!

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