Quote:
Originally Posted by Surfer infy,
I hope it's okay to reply to your reply with this question.
Can point me in the correct direction on what I need to study, to learn how to: (know, understand and do) what you wrote below:
rsync -avr --exclude "\[A.00\]\ Nieuw" --exclude "\[D.00\]\ Familie\ Video8" --exclude "\[D.01\]\ Familie\ VHS" --exclude "\[D.02\]\ Familie\ DVR" --progress --compare-dest=/cygdrive/y/ /cygdrive/c/MediaJunc/Films/ /cygdrive/q/
Looking at what is written I get the idea, I just would not be able to do it on my computer. Any thoughts on where and what to study is Greatly Appreciated.  |
It's your thread. you can ask whatever you want.
Redirect < windows version of rsync
rsync < manual for all versions of rsync
simple example:
create a .cmd file
edit in notepad
copy paste:
SETLOCAL
SET CWRSYNCHOME=%PROGRAMFILES%\CWRSYNC
SET CYGWIN=nontsec
SET HOME=%HOMEDRIVE%%HOMEPATH%
SET CWOLDPATH=%PATH%
SET PATH=%CWRSYNCHOME%\BIN;%PATH%
and then add your custom rsync configuration like the simple example below:
rsync -avr /cygdrive/c/source/ /cygdrive/d/destination/
What this would do is compare C:\source and D:\destination and whatever is not at the destination will be copied from source to destination.
if you add -n to the list (rsync -avrn /cygdrive/c/source/ /cygdrive/d/destination/ ) it will do a dry run first.
save the file and run it.
if you want you can schedule it with windows schedule thingy.
feel free to ask more questions! good luck...