Hi, I am the author. Thank you for the suggestion.
It is not necessary to patch the code to do what you want.
The output is generated by running a shell script (which can be viewed with -s).
By default, the function VIEW simply does 'echo "$@";'. This can be overridden by -i/-I.
So, you could accomplish your aim by something like, for example:
Hi, I am the author. Thank you for the suggestion.
It is not necessary to patch the code to do what you want.
The output is generated by running a shell script (which can be viewed with -s).
By default, the function VIEW simply does 'echo "$@";'. This can be overridden by -i/-I.
So, you could accomplish your aim by something like, for example:
findimagedupes -i 'export IFS=":"' -i 'VIEW(){ echo "$*"; }' -- *.jpg
Note that the script should correctly escape filenames even without this:
findimagedupes -s scriptfile --- *.jpg
more scriptfile
-jonathan