I'm moving some files from my old LinHES box to the new one over the network. I'm simple minded and I am using my windows computer and both LinHES's network shares to copy and paste the files. I am assuming that Windows is dragging the files on to itself before pasting them onto the new box.
Is there a better easier way to send files from one LinHES box to another?

The option -av means archive & verbose. archive means preserve a bunch of stuff like permissions, ownership, creation date, etc. "-e ssh" means use the ssh protocol to do the transfer. "--progress" shows you as each file is processed; you can skip that if you find it overwhelming.

Careful with trailing slashes on the source directory. You will note I did not use one. A trailing slash means copy the contents of that directory whereas no slash means copy that directory. See man for more.

rsync also knows what has been done before so if you have to restart it, it will only copy what has not been done or what has changed. Hence it is also an excellent backup tool. I use it extensively.

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum