Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
How can I set the time information of a file to be the same as of another file on OSX / Linux?
touch -r FROMFILE TOFILE
That sets the access and modification times of TOFILE to match FROMFILE.
Required, but never shown