Package: rdfind
Version: 1.3.5-1
Severity: normal

It really tooks some time to parse manpage to know if rdfind by default
deletes anything or not. In the end I tested it on a test directory to be
sure. rdfind shouldn't delete anything, as the name suggests it only finds.

IN manpages:


       -deleteduplicates true|false
              Delete (unlink) files.


Add maybe: Default false.

Also the dry run mode is rather weird, and I think it requires some 
clarification.

The existance of dryrun option started the whole problem, as manpage says:


       -n, -dryrun true|(false)
              displays what should have been done, don't actually delete or 
link anything.


suggesting that by default rdfind does delete duplicates.

Adding small snippet in DESCRIPTION section:

  By default `rdfind` only finds duplicates and reports how much space
  would be saved by removing duplicates. To actually remove duplicates
  see OPTIONS for possible actions.

would make it all obvious.




Regards,
Witold


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8), 
LANGUAGE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rdfind depends on:
ii  libc6       2.27-3
ii  libgcc1     1:8.1.0-5
ii  libnettle6  3.4-1
ii  libstdc++6  8.1.0-5

rdfind recommends no packages.

rdfind suggests no packages.

-- no debconf information

Reply via email to