Bug#507956: findimagedupes: Use of glob means folders with whitespace in their names are dropped
blhiggins at gmail.com
Sat Dec 6 06:13:11 UTC 2008
Line 365 of findimagedupes perl script makes a call to glob that fails when the
path contains whitespace. "find -type d -print0 | findimagedupes -0 -" will
ignore files in those directories because of this.
The immediate solution might appear to be to use bsd_glob, but that only solves
the problem of folders with whitespace. Folders with other characters that are
meaningful to glob/bsd_glob will probably still have issues.
Temporary workaround (for my situation, at least) is to use find to generate
the full file list.
I'd help more but my knowledge of perl is mediocre at best. FWIW, I don't think
glob is necessary if an alternative folder content listing function can be
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages findimagedupes depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libfile-mimeinfo-perl 0.15-1 Perl module to determine file type
ii libgraphics-magick-perl 1.1.11-3.2 format-independent image processin
ii libinline-perl 0.44-5 Write Perl subroutines in other pr
ii perl 5.10.0-18 Larry Wall's Practical Extraction
ii perl-base [perlapi-5.10.0] 5.10.0-18 minimal Perl system
findimagedupes recommends no packages.
findimagedupes suggests no packages.
-- no debconf information
More information about the debian-science-maintainers