Skip to Content
gnux

-a, --access-time

Change only the access time.

An option of touchx.

Usage

touchx -a FILE...
touchx --access-time FILE...

Details

ShortLongValueDefaultMeaning
-a--access-timenonechange only the access time

Examples

Set only the access time to now

touchx -a app.log

Backdate only the access time with a stamp

touchx -a -t 202001010000 app.log

Help in the terminal

gnux help touchx --access-time

On this page