Skip to Content
gnux

--time

Change the specified time: WORD is access, atime, or use (like -a), or modify or mtime (like -m).

An option of touchx.

Usage

touchx --time=WORD FILE...

Details

ShortLongValueDefaultMeaning
--timeWORDchange the specified time: WORD is access, atime, or use (like -a), or modify or mtime (like -m)

Examples

Choose the timestamp by name with --time (access/atime/use or modify/mtime)

touchx --time=mtime app.log

Help in the terminal

gnux help touchx --time

On this page