Juanma Barranquero <[EMAIL PROTECTED]> writes: >> How about the following template? >> >> (format "%s/%s-%x.jpg" >> thumbs-thumbsdir >> (file-name-nondirectory filename) >> (sxhash contents)) > > A problem is that (sxhash contents) will be slower; I have no issue > with that, but perhaps someone will. Other than that, I'm OK with any > fix that produces valid filenames and minimizes collisions.
I'd rather hash the file modification date rather than the contents. What's good enough for `make'... -- David Kastrup, Kriemhildstr. 15, 44793 Bochum _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel