Public bug reported:

Binary package hint: fslint

TEST case:

$ mkdir -p /tmp/1 /tmp/2
$ for i in 1 2 ; do echo "test" > /tmp/$i/test.txt
$ fslint-gui /tmp/1 /tmp/2

search for duplicate files.  Mark the results with a wildcard of /tmp/*
and hit the delete button.  There is no warning that all instances of
this duplicate file are going to be deleted.

Now, you may say, that's incredibly stupid and nobody would ever do
that.  Yes, you are right in this simple case.  But consider where you
have a list with hundreds of duplicates and maybe involving one master
directory and two clone directories (that you want to check for slight
variations).  It's very easy to do something that isn't really intended
like wildcarding for both clone directories and inadvertantly deleting
all occurrences of a file in case it does not exist in the master
directory.  It would be great if fslint-gui did a better job of
protecting the user from their own stupidity ;-)

** Affects: fslint (Ubuntu)
     Importance: Undecided
         Status: New

-- 
fslint should warn before deleting all instances of a file
https://bugs.launchpad.net/bugs/621648
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to