title: compare file's date bash
body: <p>I'm working on a tiny dropbox-like bash script, how can I compare the dates of 2 files and replace the old one(s) with the new one without using <strong>rsync</strong>
  is there any simple way to process this?
  can the <strong>SHA1</strong> help me with knowing the newer?</p>