diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-10-19 13:58:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-10-19 13:58:04 -0700 |
commit | 7257beafaf81b76fd4f39b11a07a1b3586abb6d2 (patch) | |
tree | eda53dd879ff1dce9e7c0e23d0c01d0f2f904a3b | |
parent | 83fd9e244c1957120589e6c84156e54ea88c9ab8 (diff) | |
download | kup-7257beafaf81b76fd4f39b11a07a1b3586abb6d2.tar.gz |
kup.1: document the handling of pathnames
Document the way the kup client handles pathnames.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | kup.1 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -112,6 +112,18 @@ all the compression formats are linked together. Delete the file or directory \fIold_path\fP. For a file, the \fI.sign\fP files are also deleted, and for compressed files, all the compression formats are deleted together. +.SH PATHNAME HANDLING +Remote (server) pathnames all need to be absolute paths, starting with +a slash (/). The sole exception is \fInew_path\fP for the \fBmv\fP +and \fBlink\fP commands, which if it is not absolute is taken to be +relative to the \fIold_path\fP minus the final component. Similarly, +if \fInew_path\fP ends in a slash then the final component of +\fIold_path\fP will be appended. +.PP +For the \fPput\fP command, except when \fB\-\-tar\fP or \fB\-\-diff\fP +is specified, if the \fIremote_path\fP ends in a slash then the +final (filename) component of \fIlocal_file\fP will be appended to the +final pathname. .SH AUTHOR Written by H. Peter Anvin <hpa@zytor.com>. .SH COPYRIGHT |