# Use the timestamp of a file as a reference to set the # timestamps of the specified file. touch -r ReferenceFile FileToModify # Example: ls -l file* -rwxrwxr-x 1 shahin shahin 109 Oct 11 17:23 file1 -rw-rw-r-- 1 shahin shahin 381 Jun 12 2005 file2 touch -r file1 file2 ls -l file* -rwxrwxr-x 1 shahin shahin 109 Oct 11 17:23 file1 -rw-rw-r-- 1 shahin shahin 381 Oct 11 17:23 file2 # your_comment_here your_command_here