tidl1969
Goto Top

Cwrsync nur geänderte Daten kopieren

Hallo,
da ich es nicht schaffe mit robocopy und einem NAS Server zu synchronisieren, habe ich mich nun für cwrsync entschlossen.
Im Netz findet man nun genug Hilfen. Aber bei mir kopiert er immer alles. Eigentlich sollen nur die geänderten Daten kopiert werden.
Kann mir jemand sagen, was an meiner Befeehlszeile falsch ist?
Weiterhin bricht mir immer das WLAN zusammen (beim Synchronisieren). Hat da jemand Rat?

Anbei mein Code aus dem Netz
@ECHO OFF
REM *****************************************************************
REM
REM CWRSYNC.CMD - Batch file template to start your rsync command (s).
REM
REM By Tevfik K. (http://itefix.no)
REM *****************************************************************

REM Make environment variable changes local to this batch file
SETLOCAL

REM ** CUSTOMIZE ** Specify where to find rsync and related files (C:\CWRSYNC)
SET CWRSYNCHOME=%PROGRAMFILES(x86)%\CWRSYNC

REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions  
REM on your windows machine are not updated as a side effect of cygwin
REM operations.
SET CYGWIN=nontsec

REM Set HOME variable to your windows home directory. That makes sure 
REM that ssh command creates known_hosts in a directory you have access.
SET HOME=%HOMEDRIVE%%HOMEPATH%

REM Make cwRsync home as a part of system PATH to find required DLLs
SET CWOLDPATH=%PATH%
SET PATH=%CWRSYNCHOME%\BIN;%PATH%

rsync -azv /cygdrive/R/Andy/ /cygdrive/d/Daten/Andy/

Content-Key: 139831

Url: https://administrator.de/contentid/139831

Printed on: April 19, 2024 at 07:04 o'clock