pixelb / fslint

Linux file system lint checker/cleaner
314 stars 74 forks source link

Follow symlinks of files in duplicate search (improve git-annex support) #163

Open spaceChRiS opened 4 years ago

spaceChRiS commented 4 years ago

fslint does not compare against the contents of symlinks when searching for duplicates. Sometimes it might be necessary to find duplicates of file contents in a directory where only symlinks to files are available.

My actual problem: Recently I started to use git-annex to organize my photographs. When deleting from the camera's sd card, I used to use fslint-gui to make sure that images are already copied and did not change. This is no longer possible as git-annex moves the files to another location (same disk) and keeps only symlinks in the original directory.

It would be great to have an option to follow symlinks of files when searching for duplicates.

I know of https://github.com/pixelb/fslint/issues/9 and it might be the same issue.