The "ssh" in that command is a second source parameter to be copied (and
then deleted). using ssh as the transport has been the default for at
least 15 years and the option to tell it to use ssh was either -e ssh or
--rsh=ssh
BTW, -r is included in -a. Also, -v isn't of much use without -i.
I w
Thanks for your inputs. Surprisingly i tried executing the following command
but end up deleting ssh.exe in Cygwin folder when source folder path is
incorrect or not reachable.
rsync --remove-source-files -v -av -r /cygdrive/c/AmitTest/ ssh
username@destinationserver:/cygdrive/e/AMIT/AmitTest/
I
If the source only has 50 files then rsync only needs to check for those
50 files on the target. If one exists rsync will compare the timestamp
to see if it needs copying. Yes, rsync verifies a hash of the file
after transfer.
On 11/19/2017 02:41 PM, Amit via rsync wrote:
> Thanks for info. I wa
Thanks for info. I was under the assumption that rsync will execute
followings steps:
1. Compare first to identify different files (new/updated) --> This is where
i am worried due to data size
2. Upload new/updated files
3 Remove source file
As per your comment, rsync will compare after uploading
If you remove the source files as rsync copies them
(--remove-source-files) then rsync will have nothing to compare. It
will just go through the tree looking for files that aren't on the
target which would probably be any file it finds. Just don't ever use
--delete in that scenario. Adding --omi
Hi,
I have huge data on my destination system (>5 TB, > 400,000 files, nested
folderss) and i am trying to publish new files from our shared location to
destination system. I am looking forward to use rsync but want it to just
push new/updated files uploaded on shared server to destination. I don'