Script to copy modified date to created date
Posted: 19 Oct 2012 23:56
Hi all,
I've done a (very) little XY scripting, and know how to set a file's modified (created,etc) date using the timestamp command.
What I'm looking to do is just to set the created date to the modified date for the selected file. I thought I could just do it using:
timestamp c, '<datem>';
using the single quotes so that each selected item will be processed individually, but I get an error that <datem> is an invalid date.
Any suggestions? It's got to be a simple answer, but I'm definitely not seeing it!
Thanks!
andy
I've done a (very) little XY scripting, and know how to set a file's modified (created,etc) date using the timestamp command.
What I'm looking to do is just to set the created date to the modified date for the selected file. I thought I could just do it using:
timestamp c, '<datem>';
using the single quotes so that each selected item will be processed individually, but I get an error that <datem> is an invalid date.
Any suggestions? It's got to be a simple answer, but I'm definitely not seeing it!
Thanks!
andy