Bug#507956: findimagedupes: Use of glob means folders with whitespace in their names are dropped
Andreas Tille
tillea at rki.de
Mon Dec 8 08:13:47 UTC 2008
Hi Jonathan,
I'd like to inform you about this problem. I guess the problem is
not really hard to fix but I would like to leave you the final decision.
Kind regards
Andreas.
On Sat, 6 Dec 2008, Brendon Higgins wrote:
> Package: findimagedupes
> Version: 2.11-2
> Severity: normal
>
>
> Hi there,
>
> 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
> used.
>
> Peace,
> Brendon
>
>
> -- 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
>
>
>
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-science-maintainers
>
>
--
http://fam-tille.de
More information about the debian-science-maintainers
mailing list