-C, --cvs-exclude auto ignore files in the same way CVS does
--delete delete files that don't exist on the sending side
-I, --ignore-times don't exclude files that match length and time
+-z, --compress compress file data
--exclude FILE exclude file FILE
--exclude-from FILE exclude files listed in FILE
--suffix SUFFIX override backup suffix
- --csum-length LENGTH set the checksum length
--version print version number
Rsync uses rsh or ssh for communication. It does not need to be setuid
and requires no special privilages for installation. It does not
require a inetd entry or a daemon. You must, however, have a working
-rsh or ssh system. Using ssh is recommended for its security and
-compression features.
+rsh or ssh system. Using ssh is recommended for its security
+features.
To install rsync, first run the "configure" script. This will create a
Makefile and config.h appropriate for your system. Then type
if (l1 > 0) flags |= SAME_NAME;
if (l2 > 255) flags |= LONG_NAME;
-
+
write_byte(f,flags);
if (flags & SAME_NAME)
write_byte(f,l1);
void receive_file_entry_v11(struct file_struct *file,
unsigned char flags,int f)
{
- static mode_t last_time=0;
+ static time_t last_time=0;
static mode_t last_mode=0;
static dev_t last_rdev=0;
static uid_t last_uid=0;
unsigned char read_byte(int f)
{
- char c;
- read_buf(f,&c,1);
- return (unsigned char)c;
+ unsigned char c;
+ read_buf(f,(char *)&c,1);
+ return c;
}
fprintf(f," --exclude FILE exclude file FILE\n");
fprintf(f," --exclude-from FILE exclude files listed in FILE\n");
fprintf(f," --suffix SUFFIX override backup suffix\n");
- fprintf(f," --csum-length LENGTH set the checksum length\n");
fprintf(f," --version print version number\n");
fprintf(f,"\n");