[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exif --remove not idempotent, and a Debian man page bug



Greg Wooledge wrote:

> According to the package metadata, the Debian maintainer of
> exif is:

OK, cool.

> Maintainer: Debian PhotoTools Maintainers
> <pkg-phototools-devel@lists.alioth.debian.org>

They are CC'd, let's see what they say.

But: isn't it still a bug in the distribution man page to
refer to mail address that bounces?

>>     <incal> for f in **/*.jpg; do exif --remove -o $f $f; done | grep 'Wrote
>>             file' | wc -l # 2277 (1st invocation)
>
> I hope you're not using bash here. If you are, the "$f"
> instances need to be double-quoted, or else this is going to
> fail spectacularly on filenames with whitespace or
> globbing characters.

zsh.

> I don't know what the intended behaviof of "exif --remove -o
> file file" is. I'm imagining [...]

exif(1) which says on line 57 that --remove

  Remove the tag or (if no tag is specified) the entire IFD.

Only if it does, why is it there the next time to be removed
as well?

Maybe related to the '-o f f' part as your imagination
tells you ...

> In any case, if you want to file a Debian bug report, see
> <https://www.debian.org/Bugs/>.

Let's figure it out first, maybe.

-- 
underground experts united
https://dataswamp.org/~incal


Reply to: