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 rsync is t
Here is a POSIX solution:
find -name file2 -newer file1