Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Import and export images to and from Photo Booth Apps
If you have kids and a Photo Booth-equipped Mac, you've probably got hundreds of photos in Photo Booh, with no easy way to navigate them. You can move them all into iPhoto and manage them there, and then delete them from Photo Booth. You can also move photos into Photo Booth, though that's a bit trickier.

Exporting and removing images from Photo Booth
  1. Click on one photo in Photo Booth and hit command-R to reveal the file in the Finder. In the Finder window, hit Command-A to select all, then hold down the command key while clicking with the mouse to deselect any pictures you don't want to move and delete.
  2. Open iPhoto and create a new album to hold the pictures you're moving over. Go back into the Finder and drag all the selected photos over into iPhoto. After the file transfer is done, click back over to the Finder (but don't click into the Finder window or your selection will disappear). Hit Command-Delete to move the selected files to the Trash.
Importing images into Photo Booth

But what if you want to import a photo into Photo Booth -- perhaps one you moved out earlier? Here it gets a bit trickier, as you need to mess with the Recents.plist file that sits in the Photo Booth folder and serves as a directory. Read on for the how-to...

  1. Move any photos that you want to add to Photo Booth into the folder where it keeps its images. (Again, to find the right folder, use Command-R on any of the photos in Photo Booth.)
  2. Make a backup copy of recents.plist by selecting it and typing Command-D.
  3. Quit Photo Booth and drag the original recents.plist into a text editing program like TextEdit. You'll see an XML file with fairly simple syntax:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <array>
        <string>Photo 1.jpg</string>
        <string>Photo 2.jpg</string>
    </array>
    </plist>

    To make any new photos show up in Photo Booth, all you have to do is edit this list, adding new entries to the list with the correct file name and the correct syntax.
But what if you've made a lot of changes to the files in the folder? Rather than typing in names manually, you may want to generate a fresh list of the files currently in the folder.
  1. Open terminal. Type cd, then press the Space Bar. Now in Finder, drag the folder you're working with into the Terminal window. Mouse click on Terminal to make it active and hit Return. Then type ls -1 (that's lower-case l, s, and the number 1, meaning "list short with one entry per line"). Hit Return again. You should get a list of all the files currently in the folder.
  2. You'll have to massage the list a bit (I usually employ Microsoft Word for find and replace work) to translate it into the proper format. Open Word and paste in the data from Terminal. Delete Recents.plist from the end of the list (since the finished plist doesn't need to include itself in the list of photos).
  3. Hit Command-F, then click on the Replace tab. Enter ^p in the search field (that's the code for paragraph breaks) and enter </string>^p^t<string> in the replace field. Click on Replace All.
  4. Add a <string> to the first item in the list, and delete any unneeded extra stuff at the end of the list.
  5. Select the results and hit Command-C to copy.
  6. Switch to the recents.plist file that you've opened in TextEdit, select all the <string> lines, delete, and paste in the new lines from Word.
  7. Save the new recents.plist file to disk and reopen Photo Booth. All the pictures in the folder should now display.
[robg adds: I haven't tested this one...]
    •    
  • Currently 3.57 / 5
  You rated: 5 / 5 (7 votes cast)
 
[72,853 views]  

Import and export images to and from Photo Booth | 4 comments | Create New Account
Click here to return to the 'Import and export images to and from Photo Booth' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Import and export images to and from Photo Booth
Authored by: brycesutherland on Sep 11, '07 08:52:08AM
Open iPhoto and create a new album to hold the pictures you're moving over.
Is that part necessary? My guess would be that you could just drag the photos to the general Album pane and iPhoto automatically adds the photos to the library and creates the album. You'll probably want to rename the album afterward, but I *think* you can just drag and drop. Of course, correct me if I'm mistaken.

[ Reply to This | # ]
photo booth to iphoto with 1 click
Authored by: lokon1979 on Sep 11, '07 10:03:30AM

there is a button in photo booth that send your photos into iphoto with just one click



[ Reply to This | # ]
Import and export images to and from Photo Booth
Authored by: Malesca on Sep 11, '07 11:57:55AM
Import and export images to and from Photo Booth
Authored by: Wardy3 on Jan 13, '08 04:41:38AM
Hi all

Just a couple of updates on this useful hint

In 10.5 the recent.plist is now in ~/Library/Application Support/Photo Booth

The new version of Photo Booth allows 4 rapid photos to be taken and they all appear on one "photo". This is stored as a nested array in the plist file.

Also, if you are going to use terminal to get the file listing, you might as well do all the XML formatting there too :)

for file in *; do echo "    <string>$file</string>"; done

thanks and enjoy

---
iMac G4 1Gb

[ Reply to This | # ]