What does Linux touch -m option do?

You can use touch -m option to modify only modify time of a file in Linux.

Example:

Create a new empty file

Get the file modify time

Update the file modify time only

Get the file modify time

Observe myfile Modify time has been changed.

Leave a Reply