Does your filesystem not support symlinks or why are you using this
slow procedure?
I think using rsync over more server get more complex, Why you don't
try to using Symlinks?

2012/10/6 Absurd Minds <[email protected]>:
> Oh ok. Thank you I will try that
>
> On Oct 6, 2012 2:07 AM, "Sam Klinger" <[email protected]> wrote:
>>
>> Correct the correction:
>>
>> - /home/gamer/go/master/csgo/GameModes_Server.txt
>> - /home/gamer/go/master/csgo/mapcycle.txt
>> - /home/gamer/go/master/csgo/cfg/** (I assume you want everything
>> under this directory not copied as well).
>> - /home/gamer/go/master/csgo/motd.txt
>>
>> On Sat, Oct 6, 2012 at 1:06 AM, Sam Klinger <[email protected]> wrote:
>> > Your exclude file format is wrong, as well as you are probably
>> > excluding the wrong path. Looks like your source path is
>> > /home/gamer/go/master/ but you are excluding folders in
>> > /home/gamer/go/server1/ the path should be /home/gamer/go/master/
>> >
>> > Your include/exclude files should have a minus sign in front of the
>> > things you want excluded.
>> >
>> > So in your example (corrected):
>> >
>> > - /home/gamer/go/server1/csgo/GameModes_Server.txt
>> > - /home/gamer/go/server1/csgo/mapcycle.txt
>> > - /home/gamer/go/server1/csgo/cfg/** (I assume you want everything
>> > under this directory not copied as well).
>> > - /home/gamer/go/server1/csgo/motd.txt
>> >
>> > That should work. Really you should just throw everything into one
>> > file and use the switch --filter ". /some/file" and use the filter
>> > rules.
>> >
>> > I also suggest you read this document thoroughly, it will tell you
>> > everything you want to know about rysnc.
>> > http://www.samba.org/ftp/rsync/rsync.html
>> >
>> >
>> > On Fri, Oct 5, 2012 at 11:01 PM, Absurd Minds <[email protected]>
>> > wrote:
>> >> Can somebody show me the proper way to set up rsync? This is what I've
>> >> got, but it didn't exclude the proper files, so clearly I've got some
>> >> sort of syntax error.
>> >>
>> >> update.sh:
>> >>
>> >> #!/bin/bash
>> >>
>> >> for name in server server2 server3 large large2 large3 nobots arms
>> >> arms2 demo demo2
>> >> do
>> >>         echo 'rsync -avz /home/gamer/go/master/
>> >> /home/gamer/go/'$name'/
>> >> --exclude-from=/home/gamer/go/master/exclude.txt'
>> >>         rsync -avz /home/gamer/go/master/ /home/gamer/go/'$name'/
>> >> --exclude-from=/home/gamer/go/master/exclude.txt
>> >> done
>> >>
>> >> And a portion of exclude.txt
>> >>
>> >> /home/gamer/go/server1/csgo/GameModes_Server.txt
>> >> /home/gamer/go/server1/csgo/mapcycle.txt
>> >> /home/gamer/go/server1/csgo/cfg
>> >> /home/gamer/go/server1/csgo/motd.txt
>> >>
>> >> _______________________________________________
>> >> Csgo_servers mailing list
>> >> [email protected]
>> >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>>
>> _______________________________________________
>> Csgo_servers mailing list
>> [email protected]
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to