Can't Change Create Date Timestamp
Posted: 21 Feb 2015 08:17
Hi there,
Maybe a Newbie question. Have looked for an answer in the forum but can't find one...
I am trying to correct the Create Date on my 2000+ video clips on my NAS to use data from the file name (yyyyddmmhhss.mpg). The script says it's working but the date isn't changing.
I don't believe it's the script - If I manually correct the date from the XYplorer interface, it accepts the change but doesn't actually make it (reverts immediately to the original).
I've tried removing the 'read-only' and 'archive' toggles but no dice. Is it a restriction in the trial version? Is it to do with the NAS operating system? Any suggestions?
Maybe a Newbie question. Have looked for an answer in the forum but can't find one...
I am trying to correct the Create Date on my 2000+ video clips on my NAS to use data from the file name (yyyyddmmhhss.mpg). The script says it's working but the date isn't changing.
Code: Select all
$date = regexreplace("<curbase>", "(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})", "$3-$2-$1 $4:$5:$6"); timestamp c, $date;I've tried removing the 'read-only' and 'archive' toggles but no dice. Is it a restriction in the trial version? Is it to do with the NAS operating system? Any suggestions?