Computer Tips - Linux: set the modify time of a file to the same as another

Date: 2025jan9 OS: Linux Language: bash Q. Linux: set the modify time of a file to the same as another A. Use the `touch` command like this:
touch -d "$(date -R -r source_filename.txt)" destination_filename.txt
This also works on Cygwin.