I have a rather big directory on one server (over 4000 files), which I'd like to copy to another server (which contains a previous version of this directory). rsync is the first option, but it will put the destination folder into waiting status for a rather long period of time (more than a minute).
I'd like to do it a bit differently:
gzipthe source folderscpthe archive to the destination servergunzipthe file there- delete the archive at the source and the destination
What is the best way to accomplish all this?