Re: Calculate the time of last modification of a file

2006-12-28 Thread Odhiambo Washington
* On 27/12/06 10:54 -0600, Dan Nelson wrote: | In the last episode (Dec 27), Odhiambo Washington said: | > I am trying to determine the time of last modification of a file, on | > FreeBSD. | > | > The following code achieves the same on Linux: | > | > # AGE = (current time) - (time of last modifi

Re: Calculate the time of last modification of a file

2006-12-27 Thread Dan Nelson
In the last episode (Dec 27), Odhiambo Washington said: > I am trying to determine the time of last modification of a file, on > FreeBSD. > > The following code achieves the same on Linux: > > # AGE = (current time) - (time of last modification of "$FILE") > # please check your systems 'stat' com

Re: Calculate the time of last modification of a file

2006-12-27 Thread N.J. Mann
On Wednesday, 27 December, 2006 at 18:53:17 +0300, Odhiambo Washington wrote: > Hiya, > > I hope you had a merry Christmas ;) > > I am trying to determine the time of last modification of a file, > on FreeBSD. > > The following code achieves the same on Linux: > > > # AGE = (current time) - (t