system "rsync --version";
####
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, no xattrs, iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
####
2 [main] rsync 4008 C:\Programmi\cwRsync\bin\rsync.exe: *** fatal error - couldn't initialize fd 0 for /dev/console
####
$ENV{'CWRSYNCHOME'}='C:\Programmi\cwRsync';
$ENV{'CYGWIN'}='nontsec';
$ENV{'HOME'}='C:\Documents and Settings\saintex';
$ENV{'CWOLDPATH'}=$ENV{"PATH"};
$ENV{'PATH'}='C:\Programmi\cwRsync\bin;' . $ENV{'PATH'};
####
@ECHO OFF
SETLOCAL
SET CWRSYNCHOME=C:\Programmi\cwRsync
SET CYGWIN=nontsec
SET HOME=C:\Documents and Settings\wolf
SET CWOLDPATH=%PATH%
SET PATH=%CWRSYNCHOME%\BIN;%PATH%
rsync -av --delete '/cygdrive/c/Documents and Settings/saintex/Desktop/to save' '/cygdrive/c/Documents and Settings/saintex/Desktop/myTest'