Downloads:Galleryadd.pl NG - Gallery Codex
Personal tools

Downloads:Galleryadd.pl NG

From Gallery Codex


galleryadd.pl NG

Authors Iain Lea (iain@bricbrac.de) Jesse Mullan (jmullan@visi.com)

Description

Perl script that recursively adds directories or images to a Gallery installation. Its features include a listing of the albums available in a Gallery, the creation of top-level albums with titles and descriptions, and support for the addition of images and directories to an existing album.

Compatibility

Gallery G1 and G2

Usage

Usage: galleryadd.pl [options] [file(s) | dir(s)]

      -a album  album to be used for uploading image(s) or directory
      -c album  create new album for uploading image(s) or directory
      -C text   caption for image(s)
      -d text   description for new album
      -g url    URL of gallery (default: http://gallery.yoursite.com)
      -G [1|2]  gallery version being accessed (default: v1.x)
      -l        list available albums for specified gallery 
      -n        do not verify if album exists before starting upload
      -p pass   password to use to login to gallery
      -q        quiet mode (unless errors are encountered)
      -t text   title for new album (if not specified uses -c value)
      -u user   username to use to login to gallery (default: admin)
      -z        zap caption that is by default derived from filename
      -h        help
      -v        verbose

Usage Example

           galleryadd.pl -g http://gallery -u admin -p secret123 -a mycars bmw.jpg

upload image bmw.jpg to album mycars

           galleryadd.pl -g http://gallery -u admin -p secret123 -c xmas /tmp/*

create album xmas and upload images located in /tmp directory

Download

http://freshmeat.net/projects/galleryadd/

advertisements