https://bugzilla.samba.org/show_bug.cgi?id=11909
Wayne Davison changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugzilla.samba.org/show_bug.cgi?id=11909
Bug ID: 11909
Summary: Doc patch for INCLUDE/EXCLUDE PATTERN RULES
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
I investigated the rsync code and found the reason why.
For every file in the source, it searches the entire filter-list looking to
see if that filename is on the exclude/include list. Most aren't, so it
compares (350K - 72K) * 72K names (the non-listed files) plus (72K * 72K/2)
names (the ones
This is similar to using fuzzy / -y in a large directory. O(n^2) behaviour
occurs and can be incredibly slow. No caching of md5's for the directory
occurs, it would seem (or even so, there are O(N^2) comparisons).
/kc
On Mon, Jun 15, 2015 at 06:02:14PM -0500, ray vantassle said:
I
I have a sensor collector system (very low-powered slow ARM cpu), and
another system which daily pulls the data files from it for processing.
There are about 1000 new files each day. As part of the processing it
decides that certain of the files are of no interest, and adds them to an
exclude
https://bugzilla.samba.org/show_bug.cgi?id=10638
Summary: Add include/exclude files by mime type
Product: rsync
Version: 3.1.1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Hi.
On Mon, 11 Mar 2013 23:17:06 +0100 Mark Casey wrote:
On 3/11/2013 4:18 PM, Mark Casey wrote:
...
rsync -nav --no-t --numeric-ids --relative --include='*/' --exclude='*' \
/media/mnt/files /media/backups/mnt/
...
I was wrong. The command I listed is working after all, I just wasn't
that already exist in the
destination. Or phrased the other way, I want to entirely skip transferring or
updating directories that already exist in the destination, without regard to
modtime. Right now I'm using something along the lines of:
rsync -nav --no-t --numeric-ids --relative --include
--no-t --numeric-ids --relative --include='*/' --exclude='*' \
/media/mnt/files /media/backups/mnt/
I've also tried messing with --checksum, --ignore-existing, and --size-only to
get rsync to ignore modtimes but I think most of what I'm trying is intended
to
work on files and not dirs.
Any
hi
i use a script to backup my homedir, that work but there are somes things i
don't really understand.
here my script
rsync -arv --delete --prune-empty-dirs --include-from=include.txt
--exclude-from=exclude /home/bob /media/usbkey
include.txt file
+ .Skype/***
+ .local/
+ .local/share/
+
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The - .** and .* lines are both excluding all .files and .directories
except for the ones you specifically included. For easyness of
reading I would suggest you merge the two files together with
something like:
+ .Skype/***
+ .local/
+ .local/share/
@lists.samba.org
Cc:
Sent: Friday, October 19, 2012 6:18:09 PM
Subject: Re: Understand include exclude script
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The - .** and .* lines are both excluding all .files and .directories
except for the ones you specifically included. For easyness of
reading I
- From: Kevin Korb k...@sanitarium.net
To: rsync@lists.samba.org Cc: Sent: Friday, October 19, 2012
6:18:09 PM Subject: Re: Understand include exclude script
The - .** and .* lines are both excluding all .files and
.directories except for the ones you specifically included. For
easyness
Hi Michal,
(hope this mail is short enough for the list, previous one bounced: too
big)
Read, re-read, read again both your mail and the rsync-documentation
(again) and think I get it now.
First, regarding your comments (not all):
1. you are right, the .kabc\-files were missing (did not
Hi all,
I thought I understand how include/exclude and their precedences work (I
read the user guide about this), but I seem to miss something.
I have 2 questions about this, separated by ==
Question 1:
--
I want to exclude the hidden directories except some sub-dirs or files
On 10-09-10 21:13, Hans Troost wrote:
So my exclude-files contains:
.*
the include file contains:
.kde4/share/apps/kabc/distlists
.kde4/share/apps/kabc/std.vcf
Result:
1. Success: 2 .kde4/share/apps/kabc-files
Are you sure about that part ? '.*' ('H, .*' as seen by sending rsync)
should
On 4/24/2010 8:30 AM, Michael wrote:
I have a little problem to get my include / exclude working:
I want to sync /etc /home and /usr/local (and all files/dirs beneath)
to REMOTEHOST:/dest
There are some huge files in /home which I want to exclued
I have set up an include/exclude file but I
I want to sync /etc /home and /usr/local (and all files/dirs beneath) to
REMOTEHOST:/dest
There are some huge files in /home which I want to exclued
I have set up an include/exclude file but I still get too much files. Also
the excluded file is synced
/usr/bin/rsync -av --exclude-from
Hi there
I have a little problem to get my include / exclude working:
I want to sync /etc /home and /usr/local (and all files/dirs beneath) to
REMOTEHOST:/dest
There are some huge files in /home which I want to exclued
I have set up an include/exclude file but I still get too much files. Also
On Thu, 25 Mar 2010, Vitaly V. Ganusov wrote:
However, it seems like a very messy way to sync a given file (by
excluding bunch of other files that are not needed). Would you suggest
a better way? Could you suggest a simple way/script to generate such
a file (see attached) with only a few
Dear Wayne,
I am using rsync to synchronize my working files from home computer to
the work computer. I want to sync only the files in some directories and
no .files. However, I do need to sync several files from .mozilla
director (addressbook, calendar and bookmarks) which are located in the
On Thu 25 Mar 2010, Vitaly V. Ganusov wrote:
from excluded-utk.txt file:
+ .mozilla-thunderbird/
+ .mozilla-thunderbird/afc5fv2p.default/
+ .mozilla-thunderbird/afc5fv2p.default/abook.mab
+ .mozilla-thunderbird/afc5fv2p.default/storage.sdb
- .mozilla-thunderbird/afc5fv2p.default/ImapMail
You are right, the reason that I did not see that before is that the
file on the server was newer than on my desktop. It now all works.
However, it seems like a very messy way to sync a given file (by
excluding bunch of other files that are not needed). Would you suggest a
better way? Could
On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler thomas.gutz...@gmail.comwrote:
I thought --include=/this_dir/ --include=/this_dir/*** would do it,
but it doesn't. The exclude * seems to overwrite the include matches:
[sender] hiding file this_dir/foo because of pattern *
Order is important.
Thanks everyone for your help, I've got what I want.
Wayne Davison wrote:
On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler
thomas.gutz...@gmail.com mailto:thomas.gutz...@gmail.com wrote:
I thought --include=/this_dir/ --include=/this_dir/*** would do it,
but it doesn't. The exclude *
On Tue, 2009-11-10 at 09:45 +0800, Thomas Gutzler wrote:
Thanks everyone for your help, I've got what I want.
Wayne Davison wrote:
On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler
thomas.gutz...@gmail.com mailto:thomas.gutz...@gmail.com wrote:
I thought --include=/this_dir/
Matt McCutchen wrote:
On Tue, 2009-11-10 at 09:45 +0800, Thomas Gutzler wrote:
Thanks everyone for your help, I've got what I want.
My first attempt has been
--include=*/ --include=*.foo --include=*.bar
--include=/this_dir/*** --exclude=*
which did nothing than *.foo and *.bar. Shuffling it
What if I also want to include everything in /this_dir/ without running
two instances and still being able to use --delete?
I thought --include=/this_dir/ --include=/this_dir/*** would do it,
but it doesn't. The exclude * seems to overwrite the include matches:
[sender] hiding file this_dir/foo
Hi,
How can I include only *.foo and *.bar files in an rsync?
To make it a bit more difficult: Those files can be anywhere in the
directory structure.
I've been reading and trying for a while but the best I got is all
*.foo and *.bar files in ./ but none of the ones inside any
directories.
it doesn't make sense
to sync any 64-bit binaries from other machines to that one. So I
would like to exclude ELF executables or application/x-executable
from the rsync.
I think for speed, if the --exclude-mime option is given, rsync would
need to process the other include/exclude patterns first
, and
the website, I just dont understand how include/exclude works.
Is there a decent tutorial on the subject, I missed, for some reason?
all I want is to take /var/tmp/*.conf files. I dont want to recurse down
thru directories (but, for reasons hard to explain, I must have the
recursive option
hi,
I am trying to rsync a very large filesystem which is about 3TB, but
naturally I want to exclude a lot of things. However, I am really
struggling with excluding directories.
SRC=/dasd/december/2008 #Notice there is no trailing slash
TARGET=/backup/december/2008 #Notice there is no trailing
On Sun, 2009-01-25 at 10:29 -0500, Mag Gam wrote:
I am trying to rsync a very large filesystem which is about 3TB, but
naturally I want to exclude a lot of things. However, I am really
struggling with excluding directories.
SRC=/dasd/december/2008 #Notice there is no trailing slash
Thanks Matt for the response.
The *** was the magic bullet and it works. Thanks.
I was curious about the --link-dest argument. Will this speed up
anything? I noticed it has the same default behavior of cp -al
If its faster or more efficient I would be more than happy to implement this.
Hi,
Is it possible to selcect a particular source directory and filter/select
ONLY the latest file in this directory for rsync?
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before
On Tue, 2008-10-28 at 14:58 +0100, Stefan Mosleitner wrote:
Is it possible to selcect a particular source directory and filter/select
ONLY the latest file in this directory for rsync?
Selection of the latest file is not built into rsync, but it can be
scripted easily:
rsync OPTION... SRC/$(ls
Matt McCutchen wrote:
(since rsync does a binary comparison).
rsync as well as the Unix kernel, typically.
I have implemented i18n support in several programs before, I am working
on a draft for BiDi text editing, and I had to look up what
decomposition means. If that's the case, I doubt we
Bonjour,
I would like to back up several desktop computer, and notebooks who are
running under Mac OS, on a linux server with ext3 filesystem.
I try several times with rsync, using include lists (
--include-from=my_include_file).
The include list is working except for directory and filename with
I am trying to change our backup strategy from one where we include only
certain directories and exclude everything else to a blanket include and a list
of excluded files and/or directories.
I am pulling files from an rsync 2.6.9 daemon with the following command:
rsync -avrH --numeric-ids
https://bugzilla.samba.org/show_bug.cgi?id=5182
--- Comment #7 from [EMAIL PROTECTED] 2008-01-10 02:12 CST ---
Hello
just re-built 3.0.0pre7 with the fix and everything works fine.
Thanks a lot for the quick and efficient support
ciao
--
Configure bugmail:
https://bugzilla.samba.org/show_bug.cgi?id=5182
Summary: -r --include= --exclude= broken for version=3.0.0pre5?
Product: rsync
Version: 3.0.0
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority
https://bugzilla.samba.org/show_bug.cgi?id=5183
Summary: -r --include= --exclude= broken for version=3.0.0pre5?
Product: rsync
Version: 3.0.0
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority
https://bugzilla.samba.org/show_bug.cgi?id=5183
--- Comment #1 from [EMAIL PROTECTED] 2008-01-09 11:15 CST ---
oops, sorry for the duplicate
please delete
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
https://bugzilla.samba.org/show_bug.cgi?id=5182
--- Comment #1 from [EMAIL PROTECTED] 2008-01-09 11:24 CST ---
I can reproduce this. The problem happens even without the --include and
--exclude options, but apparently only if the source argument is given as
exactly ./. A workaround
https://bugzilla.samba.org/show_bug.cgi?id=5182
--- Comment #3 from [EMAIL PROTECTED] 2008-01-09 11:57 CST ---
Created an attachment (id=3091)
-- (https://bugzilla.samba.org/attachment.cgi?id=3091action=view)
Fix
The attached patch seems to fix the bug; I don't know if it's the
https://bugzilla.samba.org/show_bug.cgi?id=5182
--- Comment #4 from [EMAIL PROTECTED] 2008-01-09 12:02 CST ---
thank you very much!
I'm going home now: I'll try the patch tomorrow and let you know
ciao
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
https://bugzilla.samba.org/show_bug.cgi?id=5183
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=5182
--- Comment #6 from [EMAIL PROTECTED] 2008-01-09 14:10 CST ---
*** Bug 5183 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail
https://bugzilla.samba.org/show_bug.cgi?id=5182
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
|
--- Comment #3 from [EMAIL PROTECTED] 2007-07-05 17:13 CST ---
I have tried that too, but without any luck:
INCLUDE/EXCLUDE PATTERN RULES
You can include and exclude files by specifying patterns using
the +, -, etc. filter rules (as introduced
to check
for 6 directories. The man page explains this:
``Note that, when using the --recursive (-r) option (which is implied by -a),
every subcomponent of every path is visited from the top down, so
include/exclude patterns get applied recursively to each subcomponent's full
name (e.g. to include
https://bugzilla.samba.org/show_bug.cgi?id=4764
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=4764
--- Comment #7 from [EMAIL PROTECTED] 2007-07-05 19:33 CST ---
OK:
+ /some/path/this-file-will-not-be-found
+ /file-is-included
- *
This fails because the parent directory some is excluded by the '*' rule, so
rsync never visits any of
https://bugzilla.samba.org/show_bug.cgi?id=4764
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=4764
--- Comment #9 from [EMAIL PROTECTED] 2007-07-05 20:00 CST ---
Also, check out the description of short-circuiting the descent in the man
page:
http://rsync.samba.org/ftp/rsync/rsync.html
This appears near the start of the INCLUDE
https://bugzilla.samba.org/show_bug.cgi?id=4764
--- Comment #10 from [EMAIL PROTECTED] 2007-07-05 20:16 CST ---
(In reply to comment #7)
OK:
+ /some/path/this-file-will-not-be-found
+ /file-is-included
- *
This fails because the parent directory some is excluded by the '*'
https://bugzilla.samba.org/show_bug.cgi?id=4764
Summary: Wrong include/exclude descriptions
Product: rsync
Version: 2.6.8
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
https://bugzilla.samba.org/show_bug.cgi?id=4764
[EMAIL PROTECTED] changed:
What|Removed |Added
CC||[EMAIL PROTECTED]
--- Comment
https://bugzilla.samba.org/show_bug.cgi?id=4764
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
Hi all,
I've read the man page but still seem to be a bit confused:
Is it possible to specify include/exclude rules to transfer files, for
example of type *.c and *abc, and exclude everything else?
I am trying to avoid using --filter, since the list of patterns can be quite
long and can
14:28, Julian Pace Ross wrote:
Hi all,
I've read the man page but still seem to be a bit confused:
Is it possible to specify include/exclude rules to transfer files, for
example of type *.c and *abc, and exclude everything else?
I am trying to avoid using --filter, since the list of patterns
OK thanks!
- Original Message -
From: Christophe LYON [EMAIL PROTECTED]
To: Julian Pace Ross [EMAIL PROTECTED]; rsync@lists.samba.org
Sent: Tuesday, January 16, 2007 2:54 PM
Subject: Re: include/exclude
You can still use --filter: --filter=: my-rsync-filter
will include the file my
On 1/16/07, Julian Pace Ross [EMAIL PROTECTED] wrote:
[...] there is no --filter-from=FILE [...]
The exact equivalent to --filter-from=FILE is --filter=. FILE .
--filter=: FILE is similar but checks for a file by that name in
each subdirectory for patterns that should apply to that
Thanks for the insight!
Up and running now.
- Original Message -
From: Matt McCutchen [EMAIL PROTECTED]
To: Julian Pace Ross [EMAIL PROTECTED]
Cc: rsync@lists.samba.org
Sent: Tuesday, January 16, 2007 6:40 PM
Subject: Re: include/exclude
On 1/16/07, Julian Pace Ross [EMAIL
Matt McCutchen [EMAIL PROTECTED] writes:
On Wed, 2006-02-22 at 11:24 -0800, Wayne Davison wrote:
rsync -avO --prune-empty-dirs --include=bookmarks.xml
--filter='-! */' ~/.kde* some:dest/
I just discovered a way to transfer certain files and folders a few
levels below a
On Sat, 2006-02-25 at 10:27 -0600, Harry Putnam wrote:
Matt McCutchen [EMAIL PROTECTED] writes:
rsync --exclude=/.kde* --relative ~/./ \
~/./.kde3.5/share/apps/konqueror/bookmarks.xml dest/
Nice, but what else might the --relative inclusion do? I remember some
time in the
Matt McCutchen [EMAIL PROTECTED] writes:
All --relative does is cause rsync to duplicate the source path (minus
any leading /) inside the destination. For example, the command
cd / rsync usr/ home/matt/ /backup/
mixes my personal files with bin, lib, share, src, and so forth
On Sat, 2006-02-25 at 19:20 -0600, Harry Putnam wrote:
However It can do more than your saying there I think when symlinks
are involved it can have unexpected results.
See this thread on gmane that nobody responded too. You'll notice I
had an even murkier understanding then but still what
On Sat, Feb 25, 2006 at 08:54:46PM -0500, Matt McCutchen wrote:
http://www.samba.org/cvsweb/rsync/rsync.yo
If you'd prefer to see the man page in HTML format instead of raw yodl,
the version from the last nightly tar file is always found here:
On Wed, 2006-02-22 at 11:24 -0800, Wayne Davison wrote:
rsync -avO --prune-empty-dirs --include=bookmarks.xml
--filter='-! */' ~/.kde* some:dest/
I just discovered a way to transfer certain files and folders a few
levels below a generic exclude rule without having to include
I'm wrestling with include/exclude rules and not finding a way to do
this:
Simplified command: rsync -avv --exclcude-from=rsync_exclude \
~/ /dest/
Backup ~/ including ~/.kde3.5/share/apps/konqueror/bookmarks.xml
but excluding everything else under ~/.kde3.5
Here are some
Harry Putnam [EMAIL PROTECTED] writes:
Here are some of what hasn't worked in an EXCLUDE file.
+ /.kde3.5/share/apps/konqueror/bookmarks.xml
/.kde3.5/
+ .kde3.5/share/apps/konqueror/bookmarks.xml
/.kde3.5**
+ .kde3.5/share/apps/konqueror/bookmarks.xml
.kde3.5/
There are a number of
On Wed, Feb 22, 2006 at 05:14:29AM -0600, Harry Putnam wrote:
Still it seems there would be a more succinct way...
There is if you use rsync 2.6.7 (currently in release testing):
rsync -avO --prune-empty-dirs --include=bookmarks.xml
--filter='-! */' ~/.kde* some:dest/
This
here flumoxed by the
ins and outs of include/exclude.
I think I'm probably being too picky about what gets backedup and
should probably just accept the room use hit and and get disked up
until I'm ahead of the 8 ball. If one just backs up by directory
ignoring what may be in it, all of a sudden
https://bugzilla.samba.org/show_bug.cgi?id=2240
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
Is there a way to define a module within rsyncd.conf such that its
include/exclude list is dynamically determined by executing a host command,
e.g. find? If it can't be done today, is it the sort of feature which would be
considered for future development?
--
Dave Mielke | 2213 Fox
On Thu, Nov 10, 2005 at 02:37:55PM -0500, Dave Mielke wrote:
Is there a way to define a module within rsyncd.conf such that its
include/exclude list is dynamically determined by executing a host command,
e.g. find?
In the CVS version of rsync, you could specify a pre-xfer exec command
[quoted lines by Wayne Davison on 2005/11/10 at 12:09 -0800]
In the CVS version of rsync, you could specify a pre-xfer exec command
that could run anything you like (such as find).
Does this then write the output of, say, find to a file which is picked up
later (during the transfer) by
On Tue, Jun 28, 2005 at 02:22:22PM +0200, [EMAIL PROTECTED] wrote:
Rsync works fine for me (the rules are reported below) except a point,
rsync create an empty folders structure that I don'want.
The only way to get rsync to not create directory hierarchies that don't
contain *.txt files is to
On Mon, Jun 27, 2005 at 10:57:47PM +0200, Tomasz Chmielewski wrote:
I just spent another hour reading the manual and trying to figure it
out, but I can't make it.
Did you also read the email I pointed you at? Using the --files-from
option that it recommended would have been the easiest
Hi all,
I'm trying to made a filtered backup of a windows PC.
My target is to create a recursive backup of only files reported in the
include/exclude files (i.e. only *.txt).
the rules (reported below) work well, but also create an empty folders
structure that I don'want.
Rsync works fine for me
[EMAIL PROTECTED]:/ \
/home/samba/linuxbackup/latest/CON/
Unfortunately, it copies only /etc, it doesn't touch /home/samba/...
directories I specified.
What am I doing wrong?
I spent an hour looking through include/exclude problems on this list,
but I still can't figure out how can I
-from
and it is usually much easier than trying to get the include/exclude
rules right. Some examples of both the include/exclude syntax and the
--files-from syntax are in this recent email on the subject:
http://lists.samba.org/archive/rsync/2005-June/012846.html
..wayne..
--
To unsubscribe
descent. Or just use --files-from
and it is usually much easier than trying to get the include/exclude
rules right. Some examples of both the include/exclude syntax and the
--files-from syntax are in this recent email on the subject:
http://lists.samba.org/archive/rsync/2005-June/012846.html
ok, wayne:
thank you a lot, next question in another thread
now im using:
include = [oO][uU][tT][lL][oO][oO][kK].[pP][sS][tT]
[aA][lL][mM][aA][cC][eE][nN].[pP][sS][tT]
exclude = *.[pP][iI][fF] *.[iI][sS][oO] *.[mM][oO][vV] *.[mM][pP][33]
*.[wW][aA][vV] *.[eE][xX][eE] *.[dD][lL][lL]
Hello list:
Im a new user, poorly skilled programmer and dont understand the precedences
of rules.
I understand that:
module options override global options
but i cant find the relationship between client options and server options.
What i want is to:
#rsync.conf
[module]
include = outlook.pst
On Fri, Mar 11, 2005 at 11:37:07AM -0300, C. P. wrote:
#rsync.conf
[module]
include = outlook.pst
exclude = *.pst *.exe *.com *.mp3 etc...
but as i have experienced, these rules only apply if are repeated as client
options
They apply to the server, but not in the same way that client
Wayne:
This is mentioned in the rsyncd.conf (especiallly in a more modern
release). The purpose of these options for the daemon is to completely
hide files so that they can't be downloaded from the server, and to
this exactly what i want:
prevent those files from uploaded to the server (in a
On Fri, Mar 11, 2005 at 05:58:25PM -0300, C. P. wrote:
include = outlook.pst,
exclude = *.pif *.iso *.mov *.mp3 *.wav *.exe *.dll *.pst *.com *.bat *.mpg
As long as your server is 2.6.3 or newer, that will prevent any of those
file extensions from being uploaded to the server. You'll see
https://bugzilla.samba.org/show_bug.cgi?id=2240
--- Additional Comments From [EMAIL PROTECTED] 2005-02-25 10:05 ---
I considered the short-circuit operators (-! and +!) for filter commands, but I
am not convinced of their utility. Do you have an example of a real-life
situation that
filter/include/exclude file to be parsed
in a last-match-wins format. The file must contain this line (on its own):
[last-match]
This causes all the following rules to be reversed as they are read in, making
them behave in a last-match manner. This shouldn't cause a problem in an
include/exclude
) on sets where the used operators are union (+) and
difference (-) [not intersection!]. Here the expression cannot be just
re-grouped to right-association without changing the resulting set. The
same for the rules in the include/exclude lists.
So, while in the first match approach all rules are more
https://bugzilla.samba.org/show_bug.cgi?id=2240
--- Additional Comments From [EMAIL PROTECTED] 2005-01-15 14:47 ---
Ops, yes, you're right. Sorry, my fault in assuming the whole time
that we want to use the usual out to in way of describing the
include/exclude list. Certainly a wrong
https://bugzilla.samba.org/show_bug.cgi?id=2240
--- Additional Comments From [EMAIL PROTECTED] 2005-01-13 07:48 ---
Created an attachment (id=887)
-- (https://bugzilla.samba.org/attachment.cgi?id=887action=view)
rsync.patch.lastmatch
--
Configure bugmail:
https://bugzilla.samba.org/show_bug.cgi?id=2240
Summary: Add last-match/short-circuit processing of
include/exclude
Product: rsync
Version: 2.6.3
Platform: All
URL: http://cvs.openpkg.org/getfile/openpkg
that it would be a good idea to make the code escape all names that start with
+ or - (e.g. prefix + or - , as appropriate). This would allow the
adding of any non-space suffixes to the initial + or - to change their
meaning without adding any new incompatibilities in the syntax of the
include/exclude
only deletes inside directories that it sends, so you'll need to
send the whole .../C/ dir if you want rsync to delete subdirs inside it.
If you only want to transfer some of the dirs inside .../C/, you'll need
to use the --include/--exclude syntax to limit which directories on the
source side get
that it sends, so you'll need to
send the whole .../C/ dir if you want rsync to delete subdirs inside it.
If you only want to transfer some of the dirs inside .../C/, you'll need
to use the --include/--exclude syntax to limit which directories on the
source side get transferred. Like
On Mon, Jan 10, 2005 at 10:28:54PM +0100, David E. Meier wrote:
However, this leads me to the conclusion I need to run rsync separatly for
any of the drives, right?
It all depends on how the souce and destination directories match up.
If the destination has a dir named C and D (in the same
Hello list,
I try to keep a list of directories/files on windows in sync with the ones
on a remote machine. Basically syncing works fine, however I am
stuck/confused with the various possiblities using include/exclude
options. Your help is very much appreciated. Here's the scenario:
Local source
1 - 100 of 172 matches
Mail list logo