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
a5a26484
Commit
a5a26484
authored
Feb 11, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use underscores in the example filter rules.
parent
eed47b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
rsync.yo
rsync.yo
+5
-5
No files found.
rsync.yo
View file @
a5a26484
...
...
@@ -1339,8 +1339,8 @@ tt(- *)nl()
This fails because the parent directory "some" is excluded by the '*'
rule, so rsync never visits any of the files in the "some" or "some/path"
directories. One solution is to ask for all directories in the hierarchy
to be included by using a single rule: "+
_
*/" (put it somewhere before the
"-
_
*" rule). Another solution is to add specific include rules for all
to be included by using a single rule: "+
*/" (put it somewhere before the
"-
*" rule). Another solution is to add specific include rules for all
the parent dirs that need to be visited. For instance, this set of rules
works fine:
...
...
@@ -1409,7 +1409,7 @@ itemize(
allows the list-clearing token (!) to be specified. If no filename is
provided, ".cvsignore" is assumed.
it() A bf(e) will exclude the merge-file name from the transfer; e.g.
"dir-merge,e
_.rules" is like "dir-merge,_.rules" and "-_
.rules".
"dir-merge,e
.rules" is like "dir-merge .rules" and "-
.rules".
it() An bf(n) specifies that the rules are not inherited by subdirectories.
it() A bf(w) specifies that the rules are word-split on whitespace instead
of the normal line-splitting. This also turns off comments. Note: the
...
...
@@ -1418,7 +1418,7 @@ itemize(
also disabled).
it() You may also specify any of the modifiers for the "+" or "-" rules
(below) in order to have the rules that are read-in from the file
default to having that modifier set. For instance, "merge,-/
_
.excl" would
default to having that modifier set. For instance, "merge,-/
.excl" would
treat the contents of .excl as absolute-path excludes.
)
...
...
@@ -1427,7 +1427,7 @@ The following modifiers are accepted after a "+" or "-":
itemize(
it() A "/" specifies that the include/exclude should be treated as an
absolute path, relative to the root of the filesystem. For example,
"-/
_
/etc/passwd" would exclude the passwd file any time the transfer
"-/
/etc/passwd" would exclude the passwd file any time the transfer
was sending files from the "/etc" directory.
it() A "!" specifies that the include/exclude should take effect if
the pattern fails to match. For instance, "-! */" would exclude all
...
...
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