I know how to find and replace certain string through files, but I'm interested how could I find and replace whole files? e.g. I would like to find all info.php
files that were modified at specific time and replace them with another file.
Something like:
find -f /home/ -name php.info -exec cp -f /var/somefile.php {}
or?
I'm not sure how to add so it will only search for files that were modified, e.g., at 20.1.2014