Script to copy files when connecting camera?

Being ever increasingly worried about losing data, especially photos/movies of our family etc, I'd like to have some sort of script/automated process so that when I connect my camera (Canon 400D) - my iMac grabs a copy of the original images from the device and transfers(copies) them to an external drive, or if this is not possible, at least to another location.
Is this possible, and any ideas on the best/easiest way to acheive this?
Thanks.
FWIW - I have multiple usb drives connected, some direct into the iMac, one into my Time Capsule, and also access to my RAID NAS drive - which is where I would prefer to store them, as it offers the most secure medium to backup to.

You can use Automator to create a folder action that would import the image files into iPhoto and then copy them to a destination folder. You would, however, have to have to use Image Capture or a card reader to upload the files from the camera to the folder.
Actually, Larry's suggestion of keeping a current, i.e. daily, backup of your iPhoto LIbrary on another drive with a backup application like Synk Standard is the very best route to go. AND never let iPhoto delete the photos from the camera. Always reformat the card using the camera.
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

Similar Messages

  • Moving instead of copying files from my camera

    When I use Lightroom to move photos from my camera to my computer, I want it to automatically delete the copied files from my camera. How do I do this?

    MIDI Panic wrote:
    It would be nice if the Lightroom developers would allow us to turn “ON” the ‘Move’ function for flash media in Preferences (maybe even with a pop-up warning that mistakes could result in lost files). That way Lightroom could be customized for more efficient workflows, less complexity for us consumers who are not so worried about the occasional lost import.
    Good to hear! Two additional points against using 'Move' that no one has mentioned, and a few more tips:
    1) When using 'Move' to transfer your images from memory card to hard drive you lose the ability to perform even the simplest integrity check for file count and size. I always use Windows Explorer to compare the actual HDD file count and and folder size to that of the memory card contents. It only takes a few seconds!
    2) Letting LR delete individual image files puts additional stress on the memory card and takes additional time. Doing an 'in-camera' card format takes the least time, writes to the least number of memory locations (i.e. least stress), AND insures integrity and compatibility of card's the file allocation table.
    3) Don't forget to make a 2nd 'Copy' of your image files to a backup drive.
    May your image files 'Live Long & Prosper!'

  • PSE 12 don't start when connecting camera

    Photodownlaoder don't start when connecting camera or sd card. Even when its started manually, the media won't get imported to harddisk.
    I'm using windows 8. Camera is tested on several computers with differnet fot software and funtions perfect. PSE 12 causes me trouble...

    One more information:
    this is my second iPhone that I use on the mac. I gave my first phone back to the dealer because
    of some cracks in the housing and I activate this second phone.
    Maybe this is the reason, that iTunes doesn´t react ?
    Can I control or delete the first iPhone (or must I do this ?)
    Where can I look after all my confirmed iPhones and iPods on my iTunes ?
    Many questions; I know....

  • Logon Scripts for copying files in Windows 7

    Issues using Logon scripts to copy files in windows 7.  Its default is to append the file rather than copy and replace, which is what XP did.  How can I achieve the same results using
    logon scripts in W7 to copy any files to specified folders and replacing old files.  The reason for this is that we use a software that performs offsite/onsite updates and the only way all the users can have the correct version/tables is to either manually
    update each user in a 90+ user environment or use a logon script to perform the coping of the updates.  Unfortunately the software support won’t create a (while logging in to software) patch for this.  So we have to force it during the user logon.

    Hi Novice,
    It should depend on your script content. it's recommended you ask in the official scripting guys forum for professional help:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Karen Hu
    TechNet Community Support

  • Windows Scripting to copy files

    Hi there,
    New to Windows scripting. 
    I have tried to create a simple script to copy file but failed. Most probably the syntax is wrong. Pls help. thanks.
    I give you my code below:
    @ECHO OFF
    SETLOCAL
    REM SET INDIR="\\sge-fs01\enablers_development\ptc\OUTGOING"
    SET SLIFTCMD="C:\Program Files\PrivyLink\SLIFT-Ez Classic\1.4\SLIFTC.exe"
    SET PFX="C:\PrivyLink\KeyPeer\111111.pfx"
    SET PFXPWD="pass12345"
    SET CER="C:\PrivyLink\KeyPeer\sgesftpuser.cer"
    SET PATTERN="*.IN"
    SET DSTDIR="C:\SFTP\OUTBOUND"
    SET BKDIR="C:\SFTP\BACKUP"
    SET SENDDIR="C:\SFTP\SENDTO"
    SET INDIR="C:\SFTP\PTC\OUTGOING"
    REM ####### MAIN CALL #########
    CALL:MainScript
    GOTO :EOF
    REM ####### Check Files in PTC OUTGOING #########
    :MainScript
    SETLOCAL
    @ECHO OFF
    PUSHD %INDIR%
    IF EXIST "C:\SFTP\PTC\OUTGOING\*.IN"
    COPY "C:\SFTP\PTC\OUTGOING\*.IN" %DSTDIR%
    ELSE 
    echo "There are no files today - %date:~-4,4%%date:~-7,2%%date:~-10,2%" >> C:\SFTP\PTC.log
    pushd %~dp0
    start "" cmd /c cscript SMTP.vbs
    POPD
    ENDLOCAL
    GOTO :EOF
    REM ####  END ########

    I tried myself and it works now. 
    EXISTS can use wildcard (no problem with that). Just that my brackets were not in right position.
    They should be like this:
    IF EXIST "C:\SFTP\PTC\OUTGOING\*.IN" (   
                                    COPY %INDIR%"\*.IN" %DSTDIR%
                                    REM COPY "C:\SFTP\PTC\OUTGOING\*.IN" %DSTDIR%
                                    REM CALL :ENCRYPT
                    ) ELSE (
                                    echo "There are no files today - %date:~-4,4%%date:~-7,2%%date:~-10,2%" >> C:\SFTP\PTC.log
                                    pushd %~dp0
                                    start "" cmd /c cscript SMTP.vbs

  • How can I keep my ipod files when connecting to new pc?

    When connecting ipod to this new pc, (other one died), it says it wants to sync my files and that it will delete what is on the ipod.
    This is the only files I have left since the others were on the old pc.
    Is there a way to save this music before it gets 'resync'd'?
    Thanks for your help

    Connect your iPod to your computer. When you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod. When your iPod appears in the iTunes source list change the update setting to manual, that will let you use our iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default: Managing content manually on iPod and iPhone
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. There are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can read reviews and comparisons of some of them here:
    Wired News - Rescue Your Stranded Tunes
    Comparison of iPod managers
    TuneJack Windows Only (iPhone and iPod Touch compatible)
    SharePod Windows Only (iPhone and iPod Touch compatible)
    iPod2PC Windows Only
    iDump Windows Only
    iPodRip Mac & Windows
    YamiPod Mac and Windows
    Music Rescue Mac & Windows
    iPod Music Liberator Mac & Windows
    Floola Mac & Windows
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
    If you have any iTunes Music Store purchases the transfer of purchased content only from the iPod to authorised computers was introduced with iTunes 7. You'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay:
    Back up your iTunes library by copying to an external hard drive

  • Error copying file when reinstalli​ng Windows

    I saw where someone had posted a similar question, but saw no answers. Anyway, IBM sent me a set of recovery disks and a new hard drive (unit it still under warranty) and when I try to reinstall using the recovery disks provided, it stops during disk 2 of 6. The progress bar stops just short of the end of it, and the total progress bar stops about 1/3 of the way through. I used an identical set to reinstall the operating system (IBM sent me two hard drives and two sets of recovery disks, one for each unit) on an identical machine and had the same problem. I received this error message each time in a "recov32" window that popped up:
    An error copying file D:\RECOVERY\CM2ZCUS.002
    ERROR 23: DATA ERROR (CYCLIC REDUNDANCY CHECK).
    What does this mean and how can I resolve it? When I hit "OK", it goes on to ask for disk 3 of 6, and so on.
    And while attempting the installation on both systems, it asked for a supplemental product recovery disk (the disk says product recovery supplemental disk) just prior to insertion of disk 1 of 6.....I put that disk in the drive and scant seconds later., then iit asks for it again after disk 6 of 6 has been installed.  Is that normal? Then when it tells me to power up again, I can't do it using the restart button on that page.....the window is not responsive and i have to it shut it down buy manually pressing the on button. Appears to repeat the installation all over again.
    At any rate, both installations have not been successful in restoring Windows XP Professional on these machines, and I'm in dire need of a solution!!
    moderator note: edited post to proper sentence case for readability.   please do not post in all caps as it makes things impossible to read.   any further posts in all caps will be deleted without warning.

    Sorry about the caps....didn't realize it'd be difficult to read.
    Anyway, regarding the possibility of scratched/damaged setup disks......I have two sets, one for each laptop, and both give me the error when I try to reinstall. Seems pretty coincidental that both sets would be damaged, unless IBM makes it a habit to send out faulty software. But I tried again, got the same error when Disk 2 was installing....I went ahead and clicked OK, it asked for the third disk and darned if it popped up with the same error, but with a different file (BKD047A.IMZ). However, I'm continuing the installation in spite of the errors, but don't hold out much hope that it will be successful. If it isn't, I'll try a set of XP Pro boot disks. If that fails, I'll try an installation CD for another laptop. After that, I don't know, unless I call IBM again and have them send me replacements for the two sets of disks. Unless anyone else has another idea??

  • Automatic import when connecting camera?

    My PC is a Windows Home Premium 64 bit system. In one of the Adobe tutorials on importing, it sounded like Lightroom would automatically start the process when connecting a camera to a USB port. But that doesn't happen for me. I can import by starting Lightroom, clicking the import button, then selecting the camera device. Can Lightroom be configured to automatically start and select the camera device when the camera is plugged in?

    オートマチックカメラです。デジカメでいつも身近なものを撮っています。今中国青島にいます。
    従って撮りたいものは沢山あります。新聞にも記事を書いています。
    PCは32bitです。お願いです。質問も日本語で願います。

  • ITunes not displaying 'copying files' when importing songs

    When importing a large number of MP3 files, say an albums worth, iTunes refuses to display the 'copying files' progress bar at the top of the window. It is a process of trial and error clicking on the arrow to get the right progress bar to display, when and if I manage to get the appropriate progress bar up it will not stay for longer than a few milliseconds. Is this something I can fix or yet another sloppy bug in iTunes 7?

    Hi,
    Welcome to the group. I'm not sure why hitting the arrow next to the box isn't working as mine always works. I have the latest version and haven't had a problem yet.
    Not sure if this will help but here is a link you can check out:
    http://docs.info.apple.com/article.html?artnum=304706
    Maybe someone else will have a solution.
    S.

  • Launch photo downlader when connect camera

    I've got CS4, dutch version.
    In the course of Lynda.com I could see there is a preference of Bridge mentioned thats allows you when a camera is connected to launch the downloader automatically.
    That would be great because windows doesn't recognize Bridge as a possibillity to download (got a Canon 400D and 450D).
    But .... in my version there is no such a thing in Preferences - General, only the other two "Behavior checks".
    How can that be?

    I'm using Windows XP.
    Two stange things:
    1. I dorn't have the choice of the launch poto downloader in the preferences of Bridge (it is there not at all). Strange
    2. In the Windows menu for selecting a divice to upload photo's there is no Bridge. I can select Photoshop. I don't see a possibility to add a program to that list. Photoshop as a choice is working, but I want Bridge (using raw). Very strange.
    Bridge is automatically loading on starting the computer.

  • MacPro stop FaceTime opening when connecting camera

    MacPro stop FaceTime opening when connecting camera

    thanks for helping, but i already saw this thread.
    Ive got the same problem than this people, given my camera is firewire iidc.
    "Unfortunately, FireWire video cameras are not recognized as imaging sources, so Image Capture doesn't pick them up. As a result, you can't use Image Capture to prevent FaceTime from accessing this video camera"
    Another solution?
    using Terminal?
    killing facetime?

  • Lightroom 5 can't copy files when importing PC catalog

    Attempting to merge my old PC catalog into my newer Mac one.
    I tidied up both catalogs, then consolidated the PC catalog and media onto an external USB 3 drive (NTFS) - Mac catalog is on an external Firewire drive (Mac OS Extended Journaled). Both separate catalogs were extensively tested and were working, with all media accessible.
    I imported as catalog from the Mac catalog, and previews looked fine, and imported catalog looks fine EXCEPT almost none of the media has copied across (about 4500 photos worth!) some did, though, no idea why, or why not, in either case. Got an error message which said Lightroom couldn't copy some files.
    I did so much manual cleanup, which took days, to make this painless, I'm pretty gutted such a simple thing didn't work.
    Any idea what might be wrong and how to clean up this mess without having to go through it all manually AGAIN, please?

    OK, I'll try to give you the info you need. Firstly, I'm not the one doing the copying, I'm asking Lightroom to copy files to a new location while performing an 'import from catalog'. Also, I've just undone the previous import and I was incorrect, Lightroom copied none of the files across at all. This is all being done on the Mac, just so you know.
    Exact steps were as follows -
    1 - File -> Import from another Catalog (choose PC Catalog on NTFS HDD).
    2 - Appropriate files (all of them in fact) selected.
    3 - Settings were- File Handling - copy to: (folder on the Mac external HDD). Replace: Nothing (only new files copied). With preview.
    2 - Exact error message is "Problem importing from catalog 'Lightroom was unable to copy the files for these images to the folder you selected'." The previews appear in the catalog but with the missing file icons.
    I've removed the previous import and tried again, with the same result. In between the tries, I checked read/write permissions on both drives, which have full access, and also tried manually copying one of the folders across between the same two HDDs using the Finder (i.e. outside Lightroom), which worked perfectly, so I can't agree it's not a Lightroom issue at the moment.

  • When I copy files from my camera to my C drive and import to PP there isn't any meta data when I import direct from camera it is available.

    My camera is a Sony HDR-CX730 AVCHD format
    Software is Windows 7 and CS6 Production Suite
    When importing images direct from the camera all metadata such as dates, time etc is available in PP
    When files are  copied from the camera to C Drive on the computer and then imported into PP the metadata is lost.
    What do I need to do?

    Thought it might have been the case. My GH3 also shoots both AVCHD and MOV/H.264  files. With the GH3, the AVCHD is both more complicated (on account of the folder structure) and a slight bit noisier ... with no other image quality gain. So I've done as most folks, shot really only the MOV with it.
    But that first bit of shooting with it ... um ... naive, shall we say? ... after 35+ years of pro stills portrait shooting, and more than a decade totally digital, well ... yea, I just grabbed the image files too. As do an awful lot of people. A very common thing to solve around here!
    Neil

  • Powershell- FTP Script to copy files only after a certain time

    Hey guys,
    We are currently running an FTP script that decrypts pgp and copies/moves several files to different archived and production locations. These files come in constantly throughout the day and we need to ensure a certain 8 files get moved to 4 different locations
    but NOT before a certain time.
    Ex: File1 and File2 are received EARLY along with 50 other files and decrypted at 9pm EST on 9/4. File1 and file2 need to WAIT to be moved until after 12:05am EST on 9/5 or it is slapped with an incorrect $date/time and not processed correctly but
    every other file needs to be moved (which is currently all configured).
    Right now, both file1 and file2 are being moved as the script runs  (every 10 minutes) so when the files come in early from the vendor- they get the incorrect date/time stamp.
    I'm fairly new to powershell so I'm not quite sure how to set this up to only move the file if it is between a certain time- say 12am-1am and no other time.

    I was able to resolve this myself by doing the following:
    $hourdate = get-time –uformat “%H” 
    #Copy-Item as long as time is in the 12:00am or 1am hour 
    if(($hourDate -eq "0")-or ($hourdate -eq "1")) 
    copy-item objects
    Thanks guys

  • IPhoto hangs when connecting camera

    I am having trouble connecting my camera to iPhoto. I have used my camera with iPhoto fine for years but has recently stopped working. When I connect the camera, iPhoto loads up and the camera appears on the left in the sidebar, but it hangs while trying to display the photos on the camera. I have the same problem with image capture. The only way I've been able to get photos off it is by copying them from the memory card in the Finder.
    I have tried rebuilding the iPhoto library and have restored from a backup but it's still not working. Any ideas?
    Details: iPhoto 9.1.3, Mac OS X 10.6.8.

    I have had pretty much the same problems as you in both iphoto and image capture and had to use simple copy & paste in Finder to get things off the card. As suggested above reformatting the SD card on the speciifc camera was the only effective solution. I even bought a new SD card and had the same problem until I formatted that on the device specifically.
    This seems (to me) to be a problem with the most recent versions of iphoto 9.1.3 & 9.1.5. By chance I have also been connecting my camera to another machine which is running iphoto 08, it has had no problem with either SD cards all the way through.
    A link to my problem and post
    importing to 9.1.3 from camera

Maybe you are looking for