my $rsync_cmd = "/usr/bin/rsync -r " # recurse into dirs . "--delete " # propagate deletes . "--password-file=$config->{rsync_secret} " # pswd auth . "$source_dir/ " # from CVS export dir . "$config->{rsync_user}\@${hostname}::" . "$config->{rsync_target}/htdocs " # to target . "</dev/null"; # don't prompt for pswd