Hello Matthias,
I received a new Debian report.
It is not Debian specific so I forward it to you so you can include the
patch in jhead.
Bye,
Le 27/10/12 17:01, James R. Van Zandt a écrit :
Package: jhead
Version: 1:2.96-1
Severity: normal
Tags: patch
Dear Maintainer,
The -n option used to rename only files with mostly digits in their
names. Some of that code is still present, but it has been disabled.
I would rather the functionality be restored. Failing that, the
documentation should reflect what the program actually does. I
suggest the attached patch, which deletes any mention of the "mostly
digits" test.
- Jim Van Zandt
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (500,
'oldstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.36 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages jhead depends on:
ii libc6 2.13-34
ii libjpeg-progs 8d-1
jhead recommends no packages.
Versions of packages jhead suggests:
ii imagemagick 8:6.6.9.7-5
-- no debconf information
--
Dr. Ludovic Rousseau
--- jhead.c-old 2012-10-27 10:49:04.000000000 -0400
+++ jhead.c 2012-10-27 10:49:13.000000000 -0400
@@ -1249,8 +1249,7 @@
" '%%i' will include a sequence number, starting from
1. You can\n"
" You can specify '%%03i' for example to get leading
zeros.\n"
" This feature is useful for ordering files from
multiple digicams to\n"
- " sequence of taking. Only renames files whose names
are mostly\n"
- " numerical (as assigned by digicam)\n"
+ " sequence of taking.\n"
" The '.jpg' is automatically added to the end of the
name. If the\n"
" destination name already exists, a letter or digit is
added to \n"
" the end of the name to make it unique.\n"
--- jhead.1-old 2012-10-27 10:47:52.000000000 -0400
+++ jhead.1 2012-10-27 10:48:17.000000000 -0400
@@ -121,13 +121,7 @@
This option causes files to be renamed and/ or mmoved using the date
information from the Exif header "DateTimeOriginal" field. If the file
is not an Exif file, or the DateTimeOriginal does not contain a valid
-value, the file date is used. Renaming is by default restricted to
-files whose names consist largely of digits. This effectively restricts
-renaming to files that have not already been manually renamed, as the
-default sequential names from digital cameras consist largely of digits.
-Use the
-.B \-n
-option to force renaming of all files. If the new name contains a '/',
+value, the file date is used. If the new name contains a '/',
this will be interpreted as a new path, and the file will be moved
accordingly.