[Linux-disciples] Changing the datestamp on a file

Stephen R Laniel linux-disciples@bostoncoop.net
Tue, 7 Oct 2003 00:16:31 -0400


I have a bunch of files named yyyy-mm-dd (year, month, day), created at
various points over my blog's lifetime. I've edited those files over
time, so the datestamps have changed; in some cases I've used sed to
create entirely new files, so the creation date changed.

So now I'd like to change the creation-date (or last-modified-date) stamp
on all my files; if they're named yyyy-mm-dd, I'd like their date stamp
to say that they were created on that date. Is such a thing possible?

-- 
``So maybe we are in a period of calm between galactic wars;
  not a cheery thought really.''
 -Chris Genovese, http://shorl.com/fakopokosapra