> Seems the script is a good start to what I would characterise as a
> critical flaw in the expected upgrade path of gthumb from lennyto
> squeeze (and any other distribution upgrade path of course).

Of course, the script does not carry over the "comments" attached to
each photo by gthumb. It is actually the loss of these comments that
is the most worrying thing to me - they annotate the photographs -
who's in them, why the photo was taken etc etc.

These comments are stored in a .comments directory with the JPG files,
with an XML file corresponding to each comment. There is also a top
level .comments directory (see below ls output)...so a completely
different logic to the library and catalog system, being stored with
the JPGs rather than in the gthumb data directory (at .gnome2 and now
.local it seems).

For example, I import my photos into a directory
~/photographs/collections/sony_a700. Under that directory I have a
bunch of "gthumb import from camera" directories, eaching containing a
bunch of JPGs:

<username>@<machine>:~/photographs/collections/sony_a700$ ls -a
.                     2009-11-27--18.54.24  2009-12-27--20.29.38
..                    2009-11-29--08.34.13  2010-01-05--09.25.45
2009-09-26--21.31.20  2009-11-29--19.59.54  2010-02-27--15.12.52
2009-09-27--11.37.03  2009-12-05--13.32.12  2010-03-21--20.17.38
2009-10-02--21.13.21  2009-12-11--20.51.39  2010-05-08--14.52.46
2009-11-08--21.53.06  2009-12-13--20.11.51  .comments
2009-11-15--14.20.08  2009-12-21--20.39.50  RAW
2009-11-24--13.49.16  2009-12-25--21.29.26
<username>@<machine>:~/photographs/collections/sony_a700$ ls .comments
2009-09-26--21.31.20.xml  2009-11-24--13.49.16.xml  2009-12-21--20.39.50.xml
2009-09-27--11.37.03.xml  2009-11-27--18.54.24.xml  2009-12-25--21.29.26.xml
2009-09-27--11.59.40.xml  2009-11-29--08.34.13.xml  2009-12-27--20.29.38.xml
2009-10-02--21.13.21.xml  2009-11-29--19.59.54.xml  2010-01-05--09.25.45.xml
2009-11-08--21.12.30.xml  2009-12-05--13.32.12.xml  2010-02-27--15.12.52.xml
2009-11-08--21.53.06.xml  2009-12-11--20.51.39.xml  2010-03-21--20.17.38.xml
2009-11-15--14.20.08.xml  2009-12-13--20.11.51.xml  2010-05-08--14.52.46.xml

These XML files are actually gzip files. None of them actually have my
comments in them. If one of the imported JPGs has a comment, the
comment is stored in a .comments directory in the appropriate
date-stamped import directory. For example:

<username>@<machine>:~/photographs/collections/sony_a700$ cd
2010-02-27--15.12.52/.comments
<username>@<machine>:~/photographs/collections/sony_a700/2010-02-27--15.12.52/.comments$
ls
DSC01894.JPG.xml  DSC01946.JPG.xml  DSC02020.JPG.xml  DSC02234.JPG.xml
DSC01909.JPG.xml  DSC02017.JPG.xml  DSC02049.JPG.xml  DSC02264.JPG.xml
DSC01916.JPG.xml  DSC02018.JPG.xml  DSC02080.JPG.xml
DSC01937.JPG.xml  DSC02019.JPG.xml  DSC02176.JPG.xml

Each of these XML files is a gzipped file, that contains the comment
associated with the DSC<>.JPG file

Hope of use in smoothing the upgrade path from gthumb 2.10 to 2.11.

Regards
James



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to