coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use touch to change change time?


From: Jostein Berntsen
Subject: Re: how to use touch to change change time?
Date: Mon, 20 Jan 2020 11:39:03 +0100
User-agent: Mutt/1.13.3 (2020-01-12)

On 20.01.20,10:09, Peng Yu wrote:
> Hi,
> 
> I don't see how to change change time by touch. Is it possible with
> touch? Thanks.
> 
>        --time=WORD
>               change the specified time: WORD is access, atime, or use: equiv-
>               alent to -a WORD is modify or mtime: equivalent to -m
> 
> 

This article explains this quite well. Check points 2.-4.:

https://www.thegeekstuff.com/2012/11/linux-touch-command/


Jostein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]