The Natural Philosopher writes:
> On 14/05/18 13:25, Richard Kettlewell wrote:
>> The Natural Philosopher writes:
>>> Well Ive always used to to determine when a file was created as its
>>> rare to change permissions and that's my excuse..
>>
>> That doesn’t work either...
>>
>> $ rm -f a
>> $ touch a
>> $ stat -c 'mtime: %y ctime: %z' a
>> mtime: 2018-05-14 13:21:01.746205877 +0100 ctime: 2018-05-14
>> 13:21:01.746205877 +0100
>> $ echo whatever >> a
>> $ stat -c 'mtime: %y ctime: %z' a
>> mtime: 2018-05-14 13:21:26.834237884 +0100 ctime: 2018-05-14
>> 13:21:26.834237884 +0100
>
> ??? in which case its no different from mtime is it?
mtime doesn’t change when you change permissions/owner.
--
https://www.greenend.org.uk/rjk/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|