DOpus Magellan II: Compare lister entries

   Author:       Uwe Rosner
   Uploader:     u rosner ymail com (Uwe Rosner)
   Type:         util/dopus
   Version:      1.2
   Architecture: m68k-amigaos >= 2.0
   Distribution: Aminet
   Date:         2024-03-18
   Readme:       http://aminet.net/util/dopus/listercompare.module.readme
   Downloads:    485

http://aminet.net/util/dopus/listercompare.module.lha

=====

ABOUT

=====

A module for DOpus Magellan that compares the entries (files only,

no directories) in the source lister with those in the target lister.

The files are not compared by their content, only their sizes and date

stamps (if not disabled by option NODATECOMPARISON) are checked.

Matching files are hidden in both listers. Of the different files,

only the newer files and those missing in the other lister are

selected.

This replicates the 'Mark newer, hide same' function of Windows tool

Total Commander.

Only file names, size and date (if not switched off by the

NODATECOMPARISON argument) are compared, not the file contents

themselves.

I take no responsibility for errors, but you are welcome to report bugs

to me.

=======

CHANGES

=======

1.2 (18.03.2024)

- Added the optional argument HIDEINFOS. When this is set, all .info

files in source and target lister are considered as matching and are

hidden. This helps to keep an eye on the files themselves and not

their icons.

1.1 (26.09.2023)

- The lister entries for the comparison are now read directly from the

lister using DOpus API calls. Thus, as of this version, this module

also works with listers from the ArcDir or XADopus archive modules,

for example. This was not possible in version 1.0, where only

dos.library calls were used to read the files from the lister paths.

- Added the optional argument NODATECOMPARISON. If this is set, the

files will be treated as if they have the same date, regardless of

their date stamps.

- Added the source code of this module

1.0 (17.09.2022)

- Initial version

Contents of util/dopus/listercompare.module.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1333    1834  72.7% -lh5- 1069 Sep 26  2023 listercompare.module.info
[unknown]                 4771    8676  55.0% -lh5- 4f23 Mar 18 09:31 listercompare.module/listercompare.module
[unknown]                 1445    3590  40.3% -lh5- 865b Mar 18 10:23 listercompare.module/listercompare.readme
[unknown]                 1032    1534  67.3% -lh5- f354 Sep 26  2023 listercompare.module/listercompare.readme.info
[unknown]                 1332    1834  72.6% -lh5- 3eba Sep 26  2023 listercompare.module/src.info
[unknown]                 2758   10931  25.2% -lh5- b09f Mar 18 09:30 listercompare.module/src/listercompare.c
[unknown]                  377    1085  34.7% -lh5- f899 Mar 18 09:15 listercompare.module/src/listercompare.cd
[unknown]                  818    2002  40.9% -lh5- 59d2 Mar 18 09:23 listercompare.module/src/listercompare.h
[unknown]                 1337    4567  29.3% -lh5- 617d Mar 18 09:16 listercompare.module/src/listercompare_algorithm.c
[unknown]                  690    1484  46.5% -lh5- 7809 Mar 18 09:23 listercompare.module/src/listercompare_algorithm.h
[unknown]                  285     675  42.2% -lh5- 2e36 Sep 26  2023 listercompare.module/src/listercompare_data.c
[unknown]                  188     266  70.7% -lh5- 6812 Mar 18 09:16 listercompare.module/src/listercompare_strings.c
[unknown]                  566    1511  37.5% -lh5- d9e2 Sep 26  2023 listercompare.module/src/makefile
[unknown]                  121     150  80.7% -lh5- d899 Sep 20  2023 listercompare.module/src/modules.fd
[unknown]                  131     240  54.6% -lh5- 1007 Sep 20  2023 listercompare.module/src/SCOPTIONS
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        15 files   17184   40379  42.6%            Mar 19 02:49

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