I have a server with 2 directories: 1 is a development site, the other is the live site.
I'd like to work on the development site, and with a simple command simply move across and overrite any files on the live site that have been updated.
I understand there is git, and I have some understanding with that, but I wonder if there is a more direct route.
Any suggestions? Is there a linux command to compare 2 directories and copy across new files from one to the other while maintaining directories recursively etc?