If anyone is out there and knows better on this than me... I have been puzzled by why I could not get rsync to delete when using the --delete option. I learned that if you use /*.wav that the destination will not delete its extra files (as used in the Rivendell rd_audio_sync script). If I remove that from the string, it deletes like expected.
Examples: rsync -av --delete master::rivendell/*.wav /var/snd.standby The above copies all the files from master to standby fine but will not remove any files in standby that do not exist on the master, whereas the following does because it requests the whole directory, not individual files: rsync -av --delete master::rivendell/ /var/snd.standby Is there any danger or undesirable consequences to replicating like this? Tom Van Gorkom Radio Esperanza Engineering, KRIO AM/FM, KOIR FM Office: 956-380-8150 Cell: 865-803-7427 Rio Grande Bible Institute 4300 S US Hwy 281 Edinburg, TX 78539
_______________________________________________ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev