To help with the file dates, I found an AppleScript that will copy the file date stamps from one file to another file. After using Media Converter, you should have new file(s) with the same name as the original mts file but with a different extension (e.g. - original file is "Movie1.mts", re-wrapped file is "Movie1.mov"). Using the script below, it will take the file-date from "Movie1.mts" and copy it to "Movie1.mov". Note: Put all files in the same directory.
You'll need to customize the script by changing a few lines:
- MacHD:Users:Shared:MovieFolder-->change to the path where files are located on your Mac.
- name extension is "avi" or name extension is "mkv" or name extension is "MTS" --> case sensitive, these should be file extensions of the original files you want to copy file-date FROM.
- "mov'"--> this should be the file extension of the new files whose file-date you want to change
- The 'label index' settings are just color coding of files to help identify processing status, you can remove those if you want. FYI - To change color coding on files you just right-click file and pick one of the colors under "Labels"
AppleScript below:
with timeout of (720 * 60) seconds
tell application "Finder"
--Get all AVI, MKV, and MTS files
set allFiles to every file of entire contents of ("MacHD:Users:Shared:MovieFolder" as alias) whose (name extension is "avi" or name extension is "mkv" or name extension is "MTS")
--Repeat for all files in above folder
repeat with i from 1 to number of items in allFiles
set currentFile to (itemi of allFiles)
try
--Set to gray label to indicate processing
set label index of currentFile to 7
--Assemble original and new file paths
set origFilepath to quoted form of POSIX path of (currentFile as alias)
set newFilepath to (characters 1 thru -5 of origFilepath as string) & "mov'"
--Start the conversion
set shellCommand to "touch -m -r " & origFilepath & " " & newFilepath & ";"
do shell scriptshellCommand
set label index of currentFile to 6
do shell scriptshellCommand
on error errmsg
--Set the label to red to indicate failure
set label index of currentFile to 2
end try
end repeat
end tell
end timeout
--end adding folder items to