sahib / rmlint

Extremely fast tool to remove duplicates and other lint from your filesystem
http://rmlint.rtfd.org
GNU General Public License v3.0
1.86k stars 128 forks source link

Rerunning rmlint on NTFS (mounted with the option windows_names) does not rename the original file #594

Open arjanvaneerden opened 1 year ago

arjanvaneerden commented 1 year ago

I mounted an NTFS-harddisk with the option "windows_names", so that there are no incorrect file names when I restart to Windows. It really is just a minor issue, but if I rerun a rmlint-command and there is already a rmlint.sh file in that directory, rmlint want to rename it to a rmlint-date-time. That is a nice solution, but since rmlint wants give it a name with a : symbol in the file name, rmlint starts with this error:

ERROR: lib/formats.c:263: failed to rename old result file: Ongeldig argument (translation: incorrect argument)

ERROR: lib/formats.c:263: failed to rename old result file: Ongeldig argument

This really is a very minor issue and I understand if you don’t want to change that because it only affects NTFS-filesystems.

Kind regards, Arjan