Re: File write time



"john_chen" <john_chen_5@xxxxxxxxx> writes:

> A file is being copied from a remote location to local hard drive.
> File name and size are know.
>
> How to find the time when the first byte is written to the file

You cannot with the normal unix file systems.


> and the time when the last time is written to the file. (ie when it has
> been written completely)

Reading the mtime, as long as the file is not modified thereafter.


--
__Pascal Bourguignon__ http://www.informatimago.com/

Nobody can fix the economy. Nobody can be trusted with their finger
on the button. Nobody's perfect. VOTE FOR NOBODY.
.