batch changing creation date based on file name

Discussion in 'Mac Basics and Help' started by Dimwhit, Jun 2, 2014.

  1. Dimwhit macrumors 68000


    Apr 10, 2007
    So I have a bunch of home video clips (about 300) that I had to convert to get iMovie to use them, but that changed the creation date, which I want to change back. I know I can go to the Terminal and use the 'touch -t yyymmddhhmm command to change the creation date. But what I'd like to do is batch change all the files at once, but to different creation dates. The date and time are in the file names, fortunately, but I can't figure out how to do that. I suspect I need a script that will use the touch command but enter the date/time value based on what's in the file name.

    Anyone have any thoughts on how to do that?
  2. macstatic macrumors 65816


    Oct 21, 2005
    I realize this is an old thread, but I found it as I was looking for something else and thought I'd mention that
    A Better Finder Rename seems to be able to do something similar (name files by the date in the EXIF info), and A Better Finder Attributes (by the same author) will allow changing of the OSX file Creation date based on many things (EXIF data etc.). Perhaps you could contact them and ask if these tools could somehow be set up in combination to do what you want, or suggest that as a new feature. Sorry I couldn't be of more help.

    Hope you're still reading the thread ;)

Share This Page