[Shotwell] Feature-Wish: Photo-Library-Location via CLI args

oliver oliver at first.in-berlin.de
Fri Apr 6 22:39:00 UTC 2012


Hello Adam,


On Fri, Apr 06, 2012 at 07:13:57PM -0007, Adam Dingle wrote:
> Oliver,
> 
> yes - I agree that the database should remember the library location:
> 
> http://redmine.yorba.org/issues/2146
[...]

Well... when the full path is saved inside the database
as one string, this can also have disadvantages.

Let's think about the following situation:

You have a seperated database (-d <dbdirpath>)
ad also a seperated photo-library (-l <photolibpath>)
and then you want to move the photo-library.

If doing this, then the database must be changed / updated
for any file.
If you have many files, then the database update may need a lot of time.

To use a relative path from the database to the library would be
helping here.
But this in other situations might also become problematic.

But if a library at least has some kind of pointer to the photo-files,
this would be good.

Maybe the full path to the photo-directories coulöd be split up into
the <path_to_the_root_of_a_photolib> and inside the database there could
be the <relative-path_from_photolib_root_to_individual_photograph>.

The <path_to_the_root_of_a_photolib> could be just hold in a  file inside the
database-dir, and the relative paths from the photolib-root to the inidividual
photographs inside that photolib could be held inside the database.

This mixed approach has the advantage, that relocatoion of a complete
photo-archive could be done just mith mv/rename or cp/rm and in the database
only the <path_to_the_root_of_a_photolib> inside a simple textfile
could be changed.

(This is inspired by tar, which throws away the absolute path ad therefore
adds flexibility when untaring.)


> 
> We also have a feature request for importing images from the command line:
> 
> http://redmine.yorba.org/issues/2865
[...]

OK, yes, that way of importing would be nice.


> 
> Hopefully the combination of these two features would give you what you need.
>  Comments are welcome on those tickets, of course.  Cheers -

See above.

Ciao,
   Oliver



More information about the Shotwell-list mailing list