TABLE OF CONTENTS


::pwtk::rsync

SYNOPSIS

proc ::pwtk::rsync {from to} {

PURPOSE

Rsync between local and remote hosts.

The executable and its options for rsyncing are defined by the remote(rsync) variable in $PWTK/config/remote.tcl or ~/.pwtk/remote.tcl.

EXAMPLES

   ::pwtk::rsync  user@host:from  to
   ::pwtk::rcync  from  user@host:to

SOURCE

    variable remote
    try_exec -ignorestderr -- {*}$remote(rsync) $from $to
}