Fun things to do with computers and photographs
Random header image... Refresh for more!

title

Synopsis

photohack title images tags title
This command queries or sets the title of the specified images.

Description

With only images IDs and/or tags provided, this command will display the titles of the specified images. If a non-tag is provided as the last argument, then this is assumed to be a title, and the title of the specified images will be set to that value. (Thus, the title has to be contained in quotes.)

To ensure there is no confusion, the title can additional be surrounded in curly brackets. (See examples.)

Examples

Display titles of all images:

$ photohack title

Display titles of all images tagged “selected”:

$ photohack title selected

Set the title of image 14 (recommended/safest syntax):

$ photohack title 14 {"This is the new title"}