[NTLUG:Discuss] original file creation date?
LEROY TENNISON
leroy_tennison at prodigy.net
Sat Aug 30 22:12:01 CDT 2008
Before dismissing original creation date look at the available backup programs to see what they can do in regard to restoring this kind of information. If issue being faced here is that the OS can only do so much. If the program copying the data doesn't transfer that information there's not much that the OS can do, I doubt that this is unique to Linux.
--- On Fri, 8/29/08, Stan Gatchel <sgatchel at psltech.com> wrote:
From: Stan Gatchel <sgatchel at psltech.com>
Subject: Re: [NTLUG:Discuss] original file creation date?
To: "NTLUG Discussion List" <discuss at ntlug.org>
Date: Friday, August 29, 2008, 12:03 PM
Eric,
Thanks for the info. This means the original one-and-only creation date
is not retrained... just the first time it was to the current disk
(that's what Linux thinks is the "creation" date). Technically
correct,
but with backups, this means the real creation date is lost. Too bad really.
Thanks,
Stan
Eric Schnoebelen wrote:
> Stan Gatchel writes:
> - How do you determine the original file creation date for a file (or
> - directory for that matter)? All I see are last modified and last
> - accessed. Is this date retained? If so how do you get it to show up (in
> - Konq if possible).
>
> You look at the st_ctime of the stat structure.
>
> >From the command line, ls(1) has the `-c' flag to use the file
> creation time for sorting and listing. Take a look at ``ls
> -lc''.
>
> I have no idea how to make Konq use the ctime..
>
> Oh, ctime represents the time the file (inode) was created, and
> may be newer than the last modified (mtime) time, especially if
> the file has been moved via backup/restore. (I have several
> files in my home directory that were last modified in the early
> 90's, but the ctime is Jan 1, 2008, when I moved them onto the
> current system.)
>
> --
> Eric Schnoebelen eric at cirr.com http://www.cirr.com
> Friendships are fragile things, and require as much handling as
> any other fragile and precious thing. -Randolph S. Bourne
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
>
_______________________________________________
http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list