Normally people are doing this in reverse, but let me paint the picture.
I pulled 204 video files from an old HDD based JVC camera. JVC records in .MOD format which iPhoto won't import. I imported them into iMovie just fine, and iMovie even set the file name to clip-2007-11-04 04;42;29.mov which is great, but it now has a new creation date of whatever date I imported it. Which then causes problem when I want the videos stored in iPhoto and sorted appropriately by creation date.
I've used the application "A Better Finder Attributes 5" to individually edit the creation and modify, but I'm sure I don't want to do this 203 more times, as you can't just type in the date and time, you have to type in each part of the date/time, or select it on a calendar.
I've used the application "Name Changer" to batch convert the file names to the format YYYYMMDDhhmm which would be helpful if I were going to use the terminal command touch -t, but again I don't want to have to type it in 203 more times, plus drag and drop the file into finder to populate the location.
Now, if I were more handy with automator, or maybe some (any) scripting language this would be easy peasy. I'd batch rename all the files to the YYYYMMDDhhmm.mov and then have a script that just took the file name, passed that to touch -t along with the file location, and a few seconds later, they would all be done!
Anybody have any suggestions to how I can do this, and tips to what commands to use or ANY advice? I'm more than happy to RTFM, but I have no idea which manual to read!
Thanks
I pulled 204 video files from an old HDD based JVC camera. JVC records in .MOD format which iPhoto won't import. I imported them into iMovie just fine, and iMovie even set the file name to clip-2007-11-04 04;42;29.mov which is great, but it now has a new creation date of whatever date I imported it. Which then causes problem when I want the videos stored in iPhoto and sorted appropriately by creation date.
I've used the application "A Better Finder Attributes 5" to individually edit the creation and modify, but I'm sure I don't want to do this 203 more times, as you can't just type in the date and time, you have to type in each part of the date/time, or select it on a calendar.
I've used the application "Name Changer" to batch convert the file names to the format YYYYMMDDhhmm which would be helpful if I were going to use the terminal command touch -t, but again I don't want to have to type it in 203 more times, plus drag and drop the file into finder to populate the location.
Now, if I were more handy with automator, or maybe some (any) scripting language this would be easy peasy. I'd batch rename all the files to the YYYYMMDDhhmm.mov and then have a script that just took the file name, passed that to touch -t along with the file location, and a few seconds later, they would all be done!
Anybody have any suggestions to how I can do this, and tips to what commands to use or ANY advice? I'm more than happy to RTFM, but I have no idea which manual to read!
Thanks