Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ updater(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought




updater(1) updater(1)
NAME updater - update files between two machines SYNOPSIS updater [key] local remote ... DESCRIPTION updater updates files between two machines. One of the following key letters must be included: t Take files from the remote machine, updating the local machine. p Put files from the local machine onto the remote machine, updating the remote machine. d List the difference between files on the local and remote machines. The following key letters are optional: u Update a file only if it exists on both machines; this is the default condition. r Replace a file if it did not exist on the destination machine. local refers to the local directory name. remote refers to the remote directory names. Only one re- mote name can be specified if the p (put) key is specified. 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
cd remote ; sumdir . | sort +2 > /tmp/rXXXXX
to remote machine for each remote system;
cd local ; sumdir . | sort > /tmp/lXXXXX
for local machine. Wait for remote to complete. Take /tmp/rXXXXX. April, 1990 1



updater(1) updater(1)
Do a comparison between the local and the union of the re- motes: 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; oth- erwise 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 updater d ... uses /dev/tty0 to communicate with a remote machine and com- pares directories on the remote and local systems. FILES /usr/bin/updater 2 April, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026