fdupes patch
Feature: Enable piped input
Motivation
I had a list of files generated by another program that I needed to find duplicates in. I modified fdupes to be able to pipe it a newline-delimited list of absolute file paths to scan for duplicates. Alternatively, I probably could have accomplished this job with fdupes "as is" by creating a bunch of temporary symbolic links in a directory, but the pipe seemed like a cleaner way.
Implementation
For original source code, see http://netdial.caribe.net/~adrian2/programs/
Patch (against version 1.50-PR2) attached. Patch may be applied with this command (from within the source directory):
patch fdupes.c <fdupes.c.patch
[back]