Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
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?
 
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 ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.