- Alexander Leidinger - https://www.leidinger.net/blog -

rsync and CVS exclude

The CVS exclude option of rsync can be harm­ful in some cases.

For exam­ple I use rsync to keep my/this web­site updat­ed. At some point I noticed some strange behav­ior after the update of sev­er­al of the Word­Press plu­g­ins I use. After a bit of inves­ti­ga­tion I noticed that one plu­g­in (Bro­ken Link Check­er) has a direc­to­ry which is named “core”. This is one of the file­names which are in the exclude list of the CVS exclude fea­ture of rsync. Nor­mal­ly it should only pre­vent the trans­fer of core-files, but as rsync does not have a look if this is a file or a direc­to­ry (it is not sup­posed to do this), it also pre­vents the trans­mis­sion of the directory.

After mod­i­fy­ing the rsync options to man­u­al­ly exclude the CVS pat­terns except for “core”, the site worked cor­rect­ly again.

It seems this is one of those cas­es where dif­fer­ent development/management cul­tures show some lit­tle incompatibilities.

[5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45]Share/Save [46]