Index of /perl/jpegrdfify

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] Changes 2008-11-22 11:18 1.0K [   ] jpegrdfify-1.0.tar.gz 2008-11-22 11:18 3.6K GZIP compressed docume> [   ] jpegrdfify-1.1.tar.gz 2008-11-22 11:18 3.8K GZIP compressed docume> [   ] jpegrdfify-1.2.tar.gz 2008-11-22 11:18 3.9K GZIP compressed docume> [   ] jpegrdfify-1.3.tar.gz 2008-11-22 11:18 4.5K GZIP compressed docume>
NAME
    jpegrdfify - command-line tool for renaming images using RDF data

SYNOPSIS
     $> jpegrdf -al dc:title 'hello world' ~/photos-tmp/img_1339.jpg

     $> jpegrdf -ar dc:coverage x-urn:aaronstraupcope:knows:where#qc-montreal \
         ~/photos-tmp/img_1339.jpg

     $> jpegrdfify ~/photos-tmp/*.jpg
     [img_1331.jpg] move to /home/asc/photos/2004/03/30/20040330-img_1331.jpg
     [img_1332.jpg] move to /home/asc/photos/2004/03/30/20040330-img_1332.jpg
     [img_1333.jpg] move to /home/asc/photos/2004/04/04/20040404-img_1333.jpg
     [img_1334.jpg] move to /home/asc/photos/2004/04/04/20040404-img_1334.jpg
     [img_1335.jpg] move to /home/asc/photos/2004/04/11/20040411-img_1335.jpg
     [img_1336.jpg] move to /home/asc/photos/2004/04/16/20040416-img_1336.jpg
     [img_1337.jpg] move to /home/asc/photos/2004/04/16/20040416-img_1337.jpg
     [img_1338.jpg] move to /home/asc/photos/2004/04/18/20040418-img_1338.jpg
     [img_1339.jpg] move to /home/asc/photos/2004/04/18/20040418-qc-montreal-hello_world.jpg

DESCRIPTION
    Command-line tool for renaming images using RDF data added to an image
    using Norman Walsh's *jpegrdf* tool.

    If the source image file does not already contain RDF data, the program
    will run the *jpegrdf* program on the image with the *-exif* command.
    This will extract a set number of EXIF fields and store them as RDF/XML
    in the image. Please see the documentation for *jpegrdf* for details.

OPTIONS
    The program pays attention to the following RDF predicates :

    * http://nwalsh.com/rdf/exif#dateTime
        This field will be used to generate a nested dated space in which
        the image will be stored.

        The date will also be used as a prefix for the filename.

    * http://purl.org/dc/elements/1.1/title
        If present this field will be normalized and used as the filename.

    * http://purl.org/dc/elements/1.1/coverage
        If present this field will be used as part of the filename.
        Specifically, the code expects a URI and will use look for stuff
        following a final / or # character. If it finds something the result
        will normalized.

ENVIRONMENT VARIABLES
    This program requires two environment variables be set in order to
    function properly. They are :

    * PATH_PHOTODIR
        The path to the root directory where images will be stored.

    * EXEC_JPEGRDF
        The path to the script, or the qcommand-line argument, that will run
        the *jpegrdf* program.

VERSION
    1.3

DATE
    $Date: 2005/01/03 10:29:12 $

AUTHOR
    Aaron Straup Cope <ascope@cpan.org>

SEE ALSO
    http://nwalsh.com/java/jpegrdf/

    Image::Info

    RDF::Simple

LICENSE
    Copyright (c) 2004-2005 Aaron Straup Cope.

    This is free software, you may use it and distribute it under the same
    terms as Perl itself.