Provided by: webgui_7.10.29-3_all bug

NAME

       galleryImport.pl - Import media into a Gallery asset from various sources.

SYNOPSIS

        perl galleryImport.pl --configFile=www.example.com.conf --fromAssetId=XXXXXXXXXXXXXXXXXXXXXX --toId=XXXXXXXXXXXXXXXXXXXXXX

        perl galleryImport.pl --help

DESCRIPTION

       This WebGUI utility script imports files from the filesystem, and other assets into a
       Gallery asset. It automatically generates thumbnails and metadata just as if the files
       were uploaded through the user interface.

       Files with JPG, JPEG, GIF, and PNG extensions are supported.

       The thumbnails are created using Image::Magick for image transformations.

       Exactly one --from* and exactly one --to* parameter are required.

       --configFile filename
           Specify the config file name of the site you wish to perform this import on.

       --fromAssetId assetId
           Specify the asset id of an asset to import the files from. The asset type is
           automatically discerned.

           The supported asset types are Collaboration System, Thread, and Folder.

       --fromAssetUrl url
           Specify the URL of an asset to import the files from. The asset type is automatically
           discerned. The url is the Asset URL parameter, not a fully qualified URL.

           The supported asset types are Collaboration System, Thread, and Folder.

       --fromPath path
           Specify the absolute path to a folder containing folders images and other folders with
           images. The folder name is used to create an album name, and the files contained in
           the folder are added as photos in the folder.

       --help
           Shows this documentation, then exits.

       --tags keyword keyword keyword
           Attach keyword tags to the photos and albums created. One to 10 keywords may be
           specified. You may specify multi-word tags by wrapping them in quotes.

           Eg: --tags=green old "very expensive"

       --toId assetId
           Specify the assetId of the Gallery to create albums in.

       --toUrl url
           Specify the url of the Gallery to create albums in. The URL is the asset URL parameter
           of the Gallery, and not the fully qualified URL.

AUTHOR

       Copyright 2001-2009 Plain Black Corporation.