Skip to content

--equal does not work on files in hidden folders #233

@hungrywolf27

Description

@hungrywolf27
$ mkdir test1
$ mkdir .test2
$ cp ~/Downloads/rmlint-2.6.0.tar.gz test1/
$ cp ~/Downloads/rmlint-2.6.0.tar.gz .test2/
$ /usr/bin/rmlint --equal test1/rmlint-2.6.0.tar.gz .test2/rmlint-2.6.0.tar.gz 
$ echo $?
1
$ mv .test2/ test2/
$ /usr/bin/rmlint --equal test1/rmlint-2.6.0.tar.gz test2/rmlint-2.6.0.tar.gz 
$ echo $?
0

This causes problems, for example, if you use rmlint --hidden and then rmlint.sh -p.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions