Bug#1055588: bookworm-pu: package jdupes/1.21.3-1+deb12u1
Control: tags -1 + confirmed
On Wed, 2023-11-08 at 12:29 -0300, Joao Eriberto Mota Filho wrote:
> jdupes is a fork from fdupes. A bug was introduced by the initial
> fork some years ago. The current fdupes on Debian is already fixed. A
> warning about this bug was sent by the jdupes upstream (Jody Bruchon)
> for me via email message.
>
> The help option for jdupes says:
> -d --delete: prompt user for files to preserve and delete all
> others; [...]
>
> Using the command 'jdupes -d .', a prompt will appear:
>
> Set 1 of 1: keep which files? (1 - 5, [a]ll, [n]one, [l]ink all,
> [s]ymlink all):
>
> It is a mistake to set 2-4 because the jdupes considers one file
> only. Setting '2-4', the file 2 will be kept and the files 3 and 4
> will be deleted. The sentence 'keep which files? (1 - 5' induces the
> users to use a range and it is not valid. Currently, jdupes is not
> denying this behaviour and it is generating a data loss.
Please go ahead.
Regards,
Adam
Reply to: