This is a discussion on Suppose I waant to rsync only index.html and index.php files. use --include & --exclude? within the Rsync forums, part of the Networking and Network Related category; I have a two servers. On the second server I wish to updated only the thousands of index.php and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a two servers. On the second server I wish to updated only the
thousands of index.php and index.html files via rsync from teh first server. I don't want to rsync any other files over--only files with "index" in their name. How can I do this using rsync with --include and --exclude? This doesn't work: rsync -avz "-e ssh" --include=index --exclude=* /usr/w/var/www root@server.com:/usr/w/var Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|