faubackup2/src main.cpp,1.14,1.15
Martin Waitz <[email protected]> Mon, 13 Jun 2005 19:24:46 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12382/src
Modified Files:
main.cpp
Log Message:
use --whole-file ala rsync
Index: main.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/main.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** main.cpp 12 Jun 2005 18:16:06 -0000 1.14
--- main.cpp 13 Jun 2005 19:24:43 -0000 1.15
***************
*** 43,46 ****
--- 43,47 ----
const char OPT_CLIENT = 1;
const char OPT_SERVER = 2;
+ const char OPT_NO_WHOLE_FILE = 3;
***************
*** 64,71 ****
N_("produce verbose output")
},
! { "rsync", 'r', 0, OPTION_HIDDEN,
! N_("Use Rsync to transfer changed files")},
! { "no-rsync", 'R', 0, 0,
! N_("Don't use Rsync to transfer changed files")},
{ "one-file-system", 'x', 0, 0,
N_("don't cross filesystem boundaries")},
--- 65,72 ----
N_("produce verbose output")
},
! { "whole-file", 'W', 0, 0,
! N_("copy files whole (without rsync algorithm)")},
! { "no-whole-file", OPT_NO_WHOLE_FILE, 0, 0,
! N_("always use incremental rsync algorithm")},
{ "one-file-system", 'x', 0, 0,
N_("don't cross filesystem boundaries")},
***************
*** 86,93 ****
verbose++;
break;
! case 'r':
rsync = 1;
break;
! case 'R':
rsync = 0;
break;
--- 87,94 ----
verbose++;
break;
! case OPT_NO_WHOLE_FILE:
rsync = 1;
break;
! case 'W':
rsync = 0;
break;
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20