Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
2f03ce67
Commit
2f03ce67
authored
Mar 11, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document --copy-dest.
parent
b9232d45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
rsync.yo
rsync.yo
+23
-3
No files found.
rsync.yo
View file @
2f03ce67
...
@@ -353,6 +353,7 @@ to the detailed description below for a complete description. verb(
...
@@ -353,6 +353,7 @@ to the detailed description below for a complete description. verb(
-T, --temp-dir=DIR create temporary files in directory DIR
-T, --temp-dir=DIR create temporary files in directory DIR
-y, --fuzzy find similar file for basis if no dest file
-y, --fuzzy find similar file for basis if no dest file
--compare-dest=DIR also compare received files relative to DIR
--compare-dest=DIR also compare received files relative to DIR
--copy-dest=DIR ... and include copies of unchanged files
--link-dest=DIR hardlink to files in DIR when unchanged
--link-dest=DIR hardlink to files in DIR when unchanged
-z, --compress compress file data during the transfer
-z, --compress compress file data during the transfer
-C, --cvs-exclude auto-ignore files in the same way CVS does
-C, --cvs-exclude auto-ignore files in the same way CVS does
...
@@ -954,13 +955,30 @@ have changed from an earlier backup.
...
@@ -954,13 +955,30 @@ have changed from an earlier backup.
Beginning in version 2.6.4, multiple bf(--compare-dest) directories may be
Beginning in version 2.6.4, multiple bf(--compare-dest) directories may be
provided, which will cause rsync to search the list in the order specified
provided, which will cause rsync to search the list in the order specified
for an exact match.
for an exact match.
If a match is found that differs only in attributes, a local copy is made
and the attributes updated.
If a match is not found, a basis file from one of the em(DIR)s will be
If a match is not found, a basis file from one of the em(DIR)s will be
selected to try to speed up the transfer.
selected to try to speed up the transfer.
If em(DIR) is a relative path, it is relative to the destination directory.
If em(DIR) is a relative path, it is relative to the destination directory.
See also bf(--link-dest).
See also bf(--
copy-dest) and bf(--
link-dest).
dit(bf(--link-dest=DIR)) This option behaves like bf(--compare-dest), but
dit(bf(--copy-dest=DIR)) This option behaves like bf(--compare-dest), but
rsync will also copy unchanged files found in em(DIR) to the destination
directory using a local copy.
This is useful for doing transfers to a new destination while leaving
existing files intact, and then doing a flash-cutover when all files have
been successfully transferred.
Multiple bf(--copy-dest) directories may be provided, which will cause
rsync to search the list in the order specified for an unchanged file.
If a match is not found, a basis file from one of the em(DIR)s will be
selected to try to speed up the transfer.
If em(DIR) is a relative path, it is relative to the destination directory.
See also bf(--compare-dest) and bf(--link-dest).
dit(bf(--link-dest=DIR)) This option behaves like bf(--copy-dest), but
unchanged files are hard linked from em(DIR) to the destination directory.
unchanged files are hard linked from em(DIR) to the destination directory.
The files must be identical in all preserved attributes (e.g. permissions,
The files must be identical in all preserved attributes (e.g. permissions,
possibly ownership) in order for the files to be linked together.
possibly ownership) in order for the files to be linked together.
...
@@ -971,11 +989,13 @@ quote(tt( rsync -av --link-dest=$PWD/prior_dir host:src_dir/ new_dir/))
...
@@ -971,11 +989,13 @@ quote(tt( rsync -av --link-dest=$PWD/prior_dir host:src_dir/ new_dir/))
Beginning in version 2.6.4, multiple bf(--link-dest) directories may be
Beginning in version 2.6.4, multiple bf(--link-dest) directories may be
provided, which will cause rsync to search the list in the order specified
provided, which will cause rsync to search the list in the order specified
for an exact match.
for an exact match.
If a match is found that differs only in attributes, a local copy is made
and the attributes updated.
If a match is not found, a basis file from one of the em(DIR)s will be
If a match is not found, a basis file from one of the em(DIR)s will be
selected to try to speed up the transfer.
selected to try to speed up the transfer.
If em(DIR) is a relative path, it is relative to the destination directory.
If em(DIR) is a relative path, it is relative to the destination directory.
See also bf(--compare-dest).
See also bf(--compare-dest)
and bf(--copy-dest)
.
Note that rsync versions prior to 2.6.1 had a bug that could prevent
Note that rsync versions prior to 2.6.1 had a bug that could prevent
bf(--link-dest) from working properly for a non-root user when bf(-o) was specified
bf(--link-dest) from working properly for a non-root user when bf(-o) was specified
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment