|
|
1.1 root 1: .TH TRACK 1
2: .SH NAME
3: track \- selective remote file copy
4: .SH SYNOPSIS
5: .B track
6: [
7: .B -vntfd
8: ]
9: .I file machine
10: .PP
11: .B track -r
12: .SH DESCRIPTION
13: .I Track
14: uses Datakit to copy files from another machine to the local machine.
15: If the version of the named file differs from that existing on the
16: named machine, the remote file is copied.
17: If the named file is a
18: directory, the contents of the directory are considered recursively.
19: Files are copied only if they exist on both machines.
20: Options:
21: .TP
22: .B -v
23: Normally a report is given for each file copied.
24: Giving the option causes more verbose reports, for example about
25: files that exist locally but not remotely.
26: Giving the option twice generates a report about each file considered.
27: .TP
28: .B -n
29: Do no copying; just report what would have been copied.
30: .TP
31: .B -t
32: Copy only if a remote file is newer than the local file.
33: .TP
34: .B -f
35: Interpret the following file as a list of files and directories
36: to be handled.
37: .TP
38: .BR -d " prefix "
39: Normally
40: .I track
41: copies from remote files with the same names as the local files.
42: The
43: .B -d
44: option takes the next argument as a prefix for remote names;
45: in constructing the remote name, the argument string that specifies
46: the local file
47: or directory is replaced by the prefix.
48: directory.
49: .TP
50: .B -r
51: This option causes
52: .I track
53: to act as the remote partner;
54: it is invoked in this way on the other machine, and is not intended
55: for use by humans.
56: .PP
57: .I Track
58: has no special privileges.
59: Files must be readable remotely and writable locally by the invoker.
60: It attempts to set the time of modification of a copied file to that
61: of the remote original;
62: the attempt can succeed only if the invoker of the local file owns
63: it or is the super-user.
64: This feature matters only when random libraries (archives) are being
65: copied, because the loader uses this time to determine whether the symbol
66: table is up-to-date.
67: .SH EXAMPLES
68: .TP
69: .L track -d /bin /usr/local/bin ikeya
70: Copy files from the remote directory
71: .L /bin
72: to the local directory.
73: .L /usr/local/bin
74: .SH SEE ALSO
75: .IR push (1),
76: .IR cp (1),
77: .IR newer (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.