Oct 23, 2003 #1 Technobie MIS Oct 13, 2003 18 US Hi All, I want to be able to change the date on a file to two weeks ago. I am testing a script, but need the modified date changed. Can anyone throw a cmd my way? Thanks! Chris Driver //UNIX like TeePee. No Windows, No Gates, Apache inside.\\
Hi All, I want to be able to change the date on a file to two weeks ago. I am testing a script, but need the modified date changed. Can anyone throw a cmd my way? Thanks! Chris Driver //UNIX like TeePee. No Windows, No Gates, Apache inside.\\
Oct 23, 2003 #2 SamBones Programmer Aug 8, 2002 3,186 US Try the [tt]touch[/tt] command. Look at the man page for options. You can have it set a date to be one you specify, or use the date on another file. Hope this helps. Upvote 0 Downvote
Try the [tt]touch[/tt] command. Look at the man page for options. You can have it set a date to be one you specify, or use the date on another file. Hope this helps.
Oct 23, 2003 Thread starter #3 Technobie MIS Oct 13, 2003 18 US Awesome! Thanks! I knew I could set the current time by using "touch filename" - I should have just checked the man page. Thanks again! Chris Driver //UNIX like TeePee. No Windows, No Gates, Apache inside.\\ Upvote 0 Downvote
Awesome! Thanks! I knew I could set the current time by using "touch filename" - I should have just checked the man page. Thanks again! Chris Driver //UNIX like TeePee. No Windows, No Gates, Apache inside.\\