Permalink
Browse files

* s3cmd.1: couple of syntax fixes from Mikhail Gusarov

git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@207 830e0280-6d2a-0410-9c65-932aecc39d9d
  • Loading branch information...
ludvigm
ludvigm committed Jul 7, 2008
1 parent 85a3a20 commit 46f53b223e246306bec589ca7ef48d3d7858f95c
Showing with 9 additions and 5 deletions.
  1. +4 −0 ChangeLog
  2. +5 −5 s3cmd.1
View
@@ -1,3 +1,7 @@
+2008-07-07 Michal Ludvig <michal@logix.cz>
+
+ * s3cmd.1: couple of syntax fixes from Mikhail Gusarov
+
2008-07-03 Michal Ludvig <michal@logix.cz>
* Released version 0.9.8.2
View
10 s3cmd.1
@@ -162,8 +162,8 @@ This command will find all files under /local/path directory and copy them
to corresponding paths under s3://test-bucket/backup on the remote side.
For example:
.nf
-/local/path\fB/file1.ext\fR -> s3://test-bucket/backup\fB/file1.ext\fR
-/local/path\fB/dir123/file2.bin\fR -> s3://test-bucket/backup\fB/dir123/file2.bin\fR
+/local/path\fB/file1.ext\fR \-> s3://test-bucket/backup\fB/file1.ext\fR
+/local/path\fB/dir123/file2.bin\fR \-> s3://test-bucket/backup\fB/dir123/file2.bin\fR
.fi
To retrieve the files back from S3 use inverted syntax:
@@ -172,13 +172,13 @@ To retrieve the files back from S3 use inverted syntax:
.fi
that will download files:
.nf
-s3://test-bucket/backup\fB/file1.ext\fR -> /tmp/restore\fB/file1.ext\fR
-s3://test-bucket/backup\fB/dir123/file2.bin\fR -> /tmp/restore\fB/dir123/file2.bin\fR
+s3://test-bucket/backup\fB/file1.ext\fR \-> /tmp/restore\fB/file1.ext\fR
+s3://test-bucket/backup\fB/dir123/file2.bin\fR \-> /tmp/restore\fB/dir123/file2.bin\fR
.fi
For the purpose of \fB\-\-exclude\fR and \fB\-\-exclude\-from\fR matching the file name
\fIalways\fR begins with \fB/\fR (slash) and has the local or remote common part removed.
-For instance in the previous example the file names tested against --exclude list
+For instance in the previous example the file names tested against \-\-exclude list
will be \fB/\fRfile1.ext and \fB/\fRdir123/file2.bin, that is both with the leading
slash regardless whether you specified s3://test-bucket/backup or
s3://test-bucket/backup/ (note the trailing slash) on the command line.

0 comments on commit 46f53b2

Please sign in to comment.