Closed russmcg closed 2 years ago
I also installed all the dependencies even the optional ones to make sure it wasn't something to do with that
It started to work after I changed the file size, but there are still definitely a few bugs
I've just reported this as a BUG in the version packaged for Ubuntu 20.04 LTS https://bugs.launchpad.net/ubuntu/+source/rmlint/+bug/1951596
The problem is that the default 16 PB max file size is interpreted as a negative number.
This is the error running rmlint with the default 16 PB value:
ajt@pilot:~$ rmlint --no-with-color -T duplicates --see-symlinks --partial-hidden -c sh:handler=remove --hardlinked --crossdev --size 1-18446744073709551615 --max-depth 512 -o json -c json:oneline /home/ajt/Documents/Work/Minke ERROR: cannot parse --size: Max is smaller than min.
I see the same with the Ubuntu package, it barfs as follows:
rmlint --no-with-color -T duplicates --see-symlinks --partial-hidden -c sh:handler=symlink --hardlinked --crossdev --size 1-18446744073709551615 --max-depth 512 -o json -c json:oneline /mnt/studio/Studio-Sync/Slow-Motion
ERROR: cannot parse --size: Max is smaller than min.
and updating the size max to a slightly smaller number makes it work. I tried 10 petabytes instead of 16 :-)
@russmcg The size issue is a duplicate of #386 - this fixed as of v2.10.0. Open a separate issue with more information about the CLI issue with --keep-all-tagged/--must-match-tagged if you are still able to reproduce it.
I have noticed two issues with rmlint
currently running ubuntu 20.04.3 LTS gnome version 3.36.8
Not sure why it is only working when running just rmlint in the directory I am interested in, and the GUI isn't scanning either.
Hope someone can help.