I am looking for a command in bash to change the last modified and created timestamp to be changed to present time. How do I do it using shell command/script?
Thanks!
Advertisement
Answer
touch
will update the access and modification times (or only one of the two with -a
or -m
respectively).