aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-10-19 13:58:04 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-10-19 13:58:04 -0700
commit7257beafaf81b76fd4f39b11a07a1b3586abb6d2 (patch)
treeeda53dd879ff1dce9e7c0e23d0c01d0f2f904a3b
parent83fd9e244c1957120589e6c84156e54ea88c9ab8 (diff)
downloadkup-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.112
1 files changed, 12 insertions, 0 deletions
diff --git a/kup.1 b/kup.1
index 288c704..6133744 100644
--- a/kup.1
+++ b/kup.1
@@ -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