Update of several SPECIFIC files
Bill Schuller
bill at drdestructo.com
Fri Nov 9 04:47:30 EST 2001
I am trying to sync several specific files over ssh. This works fine when I specify the files indivdually, a la:
rsync -av --rsync-path=/usr/local/bin/rsync /etc/passwd remotehost:/etc/passwd
What I want to do though, is update several files at once, a la:
rsync -av --rsync-path=/usr/local/bin/rsync --include-from updatesys.inc remotehost:
See below for updatesys.inc. The file list gets generated just fine. It doesn't update any of the files on the remote host though. Here's the output:
receiving file list ... done
drwxr-xr-x 512 2001/11/02 10:06:53 .
drwxr-xr-x 3584 2001/11/07 15:58:42 etc
-rw-r--r-- 185 2001/11/01 18:02:54 etc/auto_home
-rw-r--r-- 113 2001/11/01 18:03:03 etc/auto_master
-rw-r--r-- 558 2001/11/01 18:01:38 etc/group
-rw-r--r-- 54 2000/01/08 18:04:21 etc/motd
-r--r--r-- 1239 2001/11/07 15:55:38 etc/passwd
-r-------- 592 2001/11/07 15:58:42 etc/shadow
-r--r----- 884 2001/11/01 18:02:44 etc/sudoers
wrote 192 bytes read 232 bytes 282.67 bytes/sec
total size is 3625 speedup is 8.55
Any ideas?
######updatesys.inc############################
/
/etc/
/etc/passwd
/etc/shadow
/etc/group
/etc/sudoers
/etc/auto_master
/etc/auto_home
/etc/motd
- *
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list