updater(1) updater(1)NAME updater - updates files between two machines SYNOPSIS updater [d] [r] [u] local remote... updater [p] [r] [u] local remote... updater [t] [r] [u] local remote... ARGUMENTS -d Lists the difference between the files on the local and remote machines. local Specifies the local directory name. -p Puts files from the local machine onto the remote machine to update the remote machine. -r Replaces a file if it did not exist on the destination machine. remote Specifies the remote directory names. Only one remote name can be specified if the p (put) key is specified. -t Takes files from the remote machine to update the local machine. -u Updates a file only if it exists on both machines. This is the default condition. DESCRIPTION updater updates files between two machines. Algorithm Open /dev/tty0 to the remote machine. stty the local port and send a stty command to the remote machine to condition both ends of the connection. Send a remote;sumdir.|sort+2> to remote machine for each remote system; local;sumdir.|sort>/tmp/l" for local machine. January 1992 1
updater(1) updater(1)Wait for remote to complete. Take /tmp/rXXXXX. Do a comparison between the local and the union of the remotes: exists on remote only: If both the t and r keys are specified, take the file; otherwise list the file. exists on local only: If both p and r keys are specified, put the file; otherwise list the file. exist on both but different: If t key is specified, take the file. If p key is specified, put the file. If d key is specified, list the file. same: nothing EXAMPLES To use /dev/tty0 to communicate with a remote machine and compare directories on the remote and local systems, enter: updater d ... FILES /usr/bin/updater Executable file 2 January 1992