Skip to main content
5 events
when toggle format what by license comment
Aug 21, 2013 at 2:13 comment added TachyonVortex -1 touch will only set the creation date of a file if it creates the file, or if the new date is earlier than the file's creation date. (It's impossible to have a file whose modification date is earlier than its creation date.) So this solution does not work if the new date is later than the file's creation date. The SetFile solution will always work.
Aug 2, 2012 at 13:51 comment added nohillside Nathan, did the file exist before you "touched" it? touch doesn't change creation dates unless it creates the file itself.
Jul 1, 2011 at 19:59 comment added dkagedal I should of course have tested this first :-) Thanks
Jul 1, 2011 at 19:58 vote accept dkagedal
Jul 1, 2011 at 16:38 history answered Nathan Greenstein CC BY-SA 3.0