Displaying 20 results from an estimated 9000 matches similar to: "More confusion on exclude rules (Success)"
2004 Apr 23
2
More confusion on exclude rules
I have created two new files /export/home/bin/test_temp.delete_me and
/export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me
on the rsync server and am using the following exclude file.
+ bin/
+ nflmg/scripts/regional/misc_loaders/
- core
- *.bz2
- *.orig
- *.BAK
- *.bak
- *.old
- *.csv
- *.tmp
- *.4chart
- *.xls
- *.difftrx
- *.difftra
- *.rawbad
- *.trx.all
- *.tar.*
-
2004 Apr 21
2
exclude-from and include-from confusion
Learning rsync (love it) and am requesting some help in understanding the
exclude-from/include-from rules. I've been doing some testing and the
results aren't coming out as I expected.
Problem:
I have a directory with several dozen sub directories and would like to
selectively pick a couple dozen directories to remotely copy. The issue is
that there are a large number of directories and I
2015 Nov 29
1
how do I download pictures from a dumb phone?
Inserting anything other than a USB cable into the phone seems to be a no-go.
There is one slightly wider and thinner recess,
but no metal is in it.
It looks like a slightly less dumb model would use
the same outer case and a somewhat different inner case.
>From lsusb:
Bus 002 Device 007: ID 04e8:6640 Samsung Electronics Co., Ltd Usb Modem Enumerator
[root at localhost ~]# file
2004 May 11
2
possible bug with exclude/exclude-from
Hi
While trying to back up my homedir, i found what looks like a bug:
from /home, i do:
rsync -CWavP --delete --delete-excluded \
--exclude=".phoenix/default/*/Cache/" \
--exclude-from=rsync-excludes \
myusername/ targetserver:/backup/myusername/
rsync-excludes contains (without [] lines):
[start]
#comment
**.xvpics**
*.swp
[end]
This works
2010 Aug 09
0
In Rsyncd not work options exclude, exlcude from and charset
Daemon was started and tested on two different OS.
FreeBSD 9.0-CURRENT:
# rsync --version
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 32-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append,
2020 Apr 07
1
How to display IP of mirror site and exclude it
FreeBSD 11.3 p7 /amd 64
rsync version 3.1.3 protocol version 31
Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 32-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, no prealloc, file-flags
In an
2006 Jun 13
3
Dynamic determination of class under test...
I''ve been developing a series of custom assertions for testing my models and it
looks like I can unify most some of the assertions if I can find a good way to
determine the class under test at run-time. Now I refactor my test code rather
vigorously so its not as simple as just stripping "Test" off the name of the
test case class, but I have a few thoughts on a useful convention
2010 Jun 06
0
exclude pattern matching rule
this is my file layout how do I write a exclusion pattern matching rule for this?
TV_show/
NCIS/
NCIS_LA/
Season 01/
[s01x01].ogv
[s01x02].ogv
tom_a_sparks
2002 May 07
0
Fixing exclude/exclude wildcard handling
Here's a first cut at replacing the fnmatch() call with some code that
knows how to distinguish "**" from "*" and also knows how to match at
the tail-end of the path (at any point following a slash). The new
function is based on Rich Salz's wildmat() code, which means that it
doesn't currently handle "[::alpha::]" style character classes. If we
want that
2005 Oct 19
1
Help needed with filtering rules - how to copy named director ies only
Hi Wayne,
What would be really nice, and I imagine quite easy from a coding
perspective would be to allow the user to apply a regex match on the full
pathname of the files being transferred.
Anyway, thanks for your confirmation - I have worked around this problem.
Cheers,
David Carter-Hitchin.
--
Royal Bank of Scotland
Interest Rate Derivatives IT
135 Bishopsgate
LONDON EC2M 3TP
Tel: +44 (0)
2007 Dec 16
1
Daemon exclude fix [Re: CVS update: rsyncweb]
On Sun, 2007-12-16 at 22:39 +0000, Wayne Davison wrote:
> Updated security-release info includes 3.0.0pre7 release.
You should make it clear that, even after this fix, daemon-excluded
files are still vulnerable to a client that combines a --*-dest or
--*-dir above the excluded files (which the filter doesn't prevent) with
file-list path information. To close this vulnerability, rsync
2008 May 22
1
Request for exclude syntax assistance
I'm baffled by exclude syntax. I'm mirroring CPAN and am trying to
exclude all files in the src/ directory. I've tried for days to figure
this out and now throwing myself on the mercy of this list.
Here's my current incantation:
/usr/bin/rsync -av --delete --exclude '/src/**' --delete-excluded \
--prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/
I've
2019 Jul 25
0
NFS4 extended attributes confusion
Hi,
would someone please clarify the behavior of -X --filter='some_filter'
to me? I was trying to copy a file on a NFS4 mount and some extended
attributes get transferred only when run as a normal user with --super
but not as root. If I have a file on nfs4 mount and I set some extended
attributes like this:
#rsync --version
rsync? version 3.1.3? protocol version 31
Copyright (C)
2006 Jun 12
1
filter/exclude confusion ???
I am running rsync -avz from [A], to pull a directory from [B].
I want to _exclude_ several directories on [B] from being pulled across.
Since these directories have short names, I hope that I can either
specify them inline rsyncd.conf on [B]; or, inline to the CLI on [A].
I am confused with man rsyncd.conf, where the manpage states:
"it only applies on the daemon"
I have tried
2004 Mar 26
1
exclude confusion: what does it match against?
The exact filename tested against include/exclude patterns is not always
obvious, and the documentation is somewhat ambiguous about it. This
bites particularly when using patterns starting with '/'. I just spent
an hour being confused by this. Here are some suggested edits to the
documentation.
Current:
The filenames matched against the exclude/include patterns are
relative to
2002 Apr 12
1
Once again somewhat mystified with exclude rules
I go thru this every few mnths it seems. Rsyncs exclude rules are
very sophisticated but because of that somewhat unfathomable at times.
Simplified:
I want to exclude directories named no_bak anywhere in the tree
but only the files under them, not the direcrories themselves.
My exclude rules look like:
no_bak/*
/no_bak/*
The first one does catch directories by that name on the first level
but
2005 Jun 28
1
Question about include/exclude rules
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 (the rules are reported below) except a point,
rsync create an empty folders
2008 Sep 25
1
INCLUDE/EXCLUDE PATTERN RULES problem on MAC OS
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 special
character ( like french one : ?,?,? etc ...).
The pattern in the include list don't match
2016 May 08
0
[Bug 11909] New: Doc patch for INCLUDE/EXCLUDE PATTERN RULES
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
Priority: P5
Component: core
Assignee: wayned at samba.org
2005 Feb 23
2
What's wrong with my exclude rules?
So, given this (broken up for email - it's all one line in the
script):
/usr/bin/rsync -q -a -e ssh -H --delete --delete-excluded
--ignore-errors --include "/" --exclude "/proc/*"
--exclude "/proc/bus/usb/*" --include "/boot/*"
--exclude "/dev/pts/*" --exclude "/dev/shm/*"
--exclude '/tmp/*' --exclude