index.txt
TRACK(1) General Commands Manual TRACK(1) NAME track - selective remote file copy SYNOPSIS track [ -vntfd ] file machine track -r DESCRIPTION Track uses Datakit to copy files from another machine to the local ma‐ chine. If the version of the named file differs from that existing on the named machine, the remote file is copied. If the named file is a directory, the contents of the directory are considered recursively. Files are copied only if they exist on both machines. Options: -v Normally a report is given for each file copied. Giving the op‐ tion causes more verbose reports, for example about files that exist locally but not remotely. Giving the option twice gener‐ ates a report about each file considered. -n Do no copying; just report what would have been copied. -t Copy only if a remote file is newer than the local file. -f Interpret the following file as a list of files and directories to be handled. -d prefix Normally track copies from remote files with the same names as the local files. The -d option takes the next argument as a pre‐ fix for remote names; in constructing the remote name, the argu‐ ment string that specifies the local file or directory is re‐ placed by the prefix. For example, track -d /bin /usr/local/bin ikeya asks to copy files from the remote /bin directory to the local /usr/local/bin directory. -r This option causes track to act as the remote partner; it is in‐ voked in this way on the other machine, and is not intended for use by humans. Track has no special privileges. Files must be readable remotely and writable locally by the invoker. It attempts to set the time of modi‐ fication of a copied file to that of the remote original; the attempt can succeed only if the invoker of the local file owns it or is the su‐ per-user. This feature matters only when random libraries (archives) are being copied, because the loader uses this time to determine whether the symbol table is up-to-date. SEE ALSO push(1), cp(1), newer(1) TRACK(1)