Why not adopt me?
NAME
iphoto - a command line shell for iPhoto
SYNOPSIS
# start the shell
% iphoto
# run a single command
% iphoto merge album1 album2
DESCRIPTION
THIS IS EXPERIMENTAL SOFTWARE! USE AT YOUR OWN RISK!
IT'S ALSO UNMAINTAINED!
This script provides a shell for iPhoto. Make a backup of your photo library, or use a test library, to play with this script.
COMMANDS
These commands interact with iPhoto, and some of them will change your iPhoto library, including deleting photos forever.
The "show" command makes iPhoto display something, while the "print" command makes the shell display something. For instance, "show boat" will tell iPhoto to display the album "boat" just as if you had selected it from iPhoto's albums pane. The command "print albums" will print on the terminal (not the printer!) the list of albums.
Although some photos may disappear from albums or the photo library, they are simply in the Trash library, and you do not delete them until you use the "empty" command. However, since I am still developing this script, I have disabled that command. You can still use the command, but it will not empty the trash. To enable the "empty" command, find the "empty_trash" subroutine and modify the source according to the comment in the subroutine.
- debug
-
turn on extra output
- empty
-
empty the trash (you cannot recover these photos).
- help
-
display available commands
- make ALBUM_NAME
-
make an album named ALBUM_NAME
- merge ALBUM1 ALBUM2
-
move everything from ALBUM2 to ALBUM1, and remove ALBUM2
- move ALBUM
-
move the selected photos to ALBUM
- quit
-
stop the shell
- print [ album | albums | photo | photos | selection ]
-
Rrint information about the specified object. What these actually print changes everytime I look at the source, so you have to try them to see.
- remove ALBUM
-
Remove the album. The photos stay in the photo library.
- show ALBUM
-
Tell iPhoto to display ALBUM
- trash
-
Put the selected photos in the trash
- version
-
Print the shell version
- view [ import | organize | edit | book ]
-
Change the view. The default is "organize", and using any unknown view changes it to "organize".
SOURCE AVAILABILITY
This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.
http://sourceforge.net/projects/brian-d-foy/
If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT
Copyright 2004, brian d foy, All rights reserved.
You may use this program under the same terms as Perl itself.