Add albums from shell

svenbeb

Joined: 2005-10-17
Posts: 3
Posted: Mon, 2005-10-17 11:30

Hy,

i want to add albums from the shell, like the g2add.pl for pictures because I want to automate some migrations from my old picturearchive (not gallery).

Second I want to automate some archive updates. Because i rsync some archives on filesystemlayer and then create albums for the new ones and import the new pictures. The reason for this ist: I have 3 people who use a external tool with itpc support. When they update some IPTC info in the pictures I want to reimport the albums an pictures.

Maybe there is a perl/shell tool outside to add albums in gallery2? Maybe a tool to remove pictures/albums from gallery2?!

I would be very happy.

regards from munich
Sven!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-10-17 12:39

to answer the title of your topic:
g2add.pl

as for the other questions: no there are no known shell tools to do such things.

 
svenbeb

Joined: 2005-10-17
Posts: 3
Posted: Mon, 2005-10-17 14:09

Hy valiant,

sorry, but the help output from the g2add.pl show me only how i add a photo, but i don't find anything to add a album.
Maybe i am blind ;) but please tell me how to add a album with g2add.pl.

Thanks!
Sven!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-10-17 14:10
 
svenbeb

Joined: 2005-10-17
Posts: 3
Posted: Mon, 2005-10-17 14:42

Hey valiant,

thanks for this! This is not exacly what i want, because on the first view i can add albums only in the root album, but i take a second view ;-)

Many thanks for this hint. I don't see this skript before.

Regards.
Sven!