Changing filedate

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kurotsuke

    Changing filedate

    Is there a way I can change the filedate of a file to put it back in
    time?
    Thanks.
  • Steve

    #2
    Re: Changing filedate

    On Mon, 28 Mar 2005 20:09:34 +0200, kurotsuke wrote:
    [color=blue]
    > Is there a way I can change the filedate of a file to put it back in
    > time?
    > Thanks.[/color]


    touch

    Comment

    • NC

      #3
      Re: Changing filedate

      kurotsuke wrote:[color=blue]
      >
      > Is there a way I can change the filedate of a file
      > to put it back in time?[/color]

      There is no such thing as "filedate". Dates asscociated
      with files are multiple and OS-specific.

      On Unix, there are three dates associated with a file,

      (1) date of last change in the file's inode data (commonly
      and incorrectly referred to as "creation date"),
      (2) date of last modification, and
      (3) date of last access.

      On Windows, there are also three dates associated with a file,

      (1) date of creation (this one actually is a creation date),
      (2) date of last modification, and
      (3) date of last access.

      Access and modification times can be changed by calling
      touch() function:

      Sets access and modification time of file


      Cheers,
      NC

      Comment

      Working...