Hi together,
I'd like to propose the attached patch for the man page clarifying the
difference between shell patterns and rsync patterns as it is not clear
in at least of the examples (the user might think that `rsync
remote.host:*.c /local/target/` is possible.
A HACKING file has been added to pro
https://bugzilla.samba.org/show_bug.cgi?id=7523
way...@samba.org changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=7523
Summary: rsync exclude file ignores spaces
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component
On 03/28/2010 07:35 PM, Benjamin R. Haskell wrote:
> On Sun, 28 Mar 2010, Johan wrote:
>
>> Good day,
>>
>> rsync does load and read the file but does not act on it.
>>
>> If I change the filename rsync complains.
>> I must be doing something wrong.
>
> The paths for 'exclude-from' should be rela
On Sun, 28 Mar 2010, Johan wrote:
> Good day,
>
> rsync does load and read the file but does not act on it.
>
> If I change the filename rsync complains.
> I must be doing something wrong.
The paths for 'exclude-from' should be relative to the root directory of
your source. (So, omit the '/be
Good day,
rsync does load and read the file but does not act on it.
If I change the filename rsync complains.
I must be doing something wrong.
I use a laptop. Opensuse 11.2,
rsync > version 3.0.6 protocol version 30.
I created the following to test..
In .. /home/johan/ a dir rysnc-tst. In th
Please recommend a rsync --exclude tutorial.
I read the manual http://linux.die.net/man/1/rsync > ¾ down page, Filter Rules,
Include-Exclude Pattern Rules, but its hard to figure it out.
Thank you,
Wolfram Volpi
--
Please use reply-all for most replies to avoid omitting the mail
That worked. Thank you Tony.
Gary
Tony wrote:
try:
--exclude=.thumbnails/***
--exclude=tmp/***
On Dec 16, 2009, at 1:40 PM, Gary Montalbine wrote:
Tony Abernethy wrote:
Gary Montalbine wrote:
I am trying to backup my /home directory. A friend helped me with this
script:
#!/bin/sh
#backup
try:
--exclude=.thumbnails/***
--exclude=tmp/***
On Dec 16, 2009, at 1:40 PM, Gary Montalbine wrote:
>
>
> Tony Abernethy wrote:
>> Gary Montalbine wrote:
>>> I am trying to backup my /home directory. A friend helped me with this
>>> script:
>>>
>>> #!/bin/sh
>>> #backup friday
>>> #"Spinning
Tony Abernethy wrote:
Gary Montalbine wrote:
I am trying to backup my /home directory. A friend helped me with this
script:
#!/bin/sh
#backup friday
#"Spinning up backup drive and mounting it .."
cd /
mount /mnt/hd2
#"Starting backup procedures"
rsync -avx --exclude="/home/gary/.thumbnails/"
Gary Montalbine wrote:
> I am trying to backup my /home directory. A friend helped me with this
> script:
>
> #!/bin/sh
> #backup friday
> #"Spinning up backup drive and mounting it .."
> cd /
> mount /mnt/hd2
> #"Starting backup procedures"
> rsync -avx --exclude="/home/gary/.thumbnails/"
> --exc
I am trying to backup my /home directory. A friend helped me with this
script:
#!/bin/sh
#backup friday
#"Spinning up backup drive and mounting it .."
cd /
mount /mnt/hd2
#"Starting backup procedures"
rsync -avx --exclude="/home/gary/.thumbnails/"
--exclude="/home/gary/tmp/" --delete --ignore-e
On 30.09.2009 08:00, Rahul Nabar wrote:
> On Wed, Sep 30, 2009 at 4:41 AM, Paul Slootman wrote:
> > On Tue 29 Sep 2009, Rahul Nabar wrote:
> >
> >> Is there a way to set rsync excludes by filesize? I already do
> >
> > Did you look in the manpage?
> >
> > "man rsync", search for "size" and the 5th
On Wed, Sep 30, 2009 at 4:41 AM, Paul Slootman wrote:
> On Tue 29 Sep 2009, Rahul Nabar wrote:
>
>> Is there a way to set rsync excludes by filesize? I already do
>
> Did you look in the manpage?
>
> "man rsync", search for "size" and the 5th hit describes it.
Thanks Paul! I deserve a RTFM. Had d
On Tue 29 Sep 2009, Rahul Nabar wrote:
> Is there a way to set rsync excludes by filesize? I already do
Did you look in the manpage?
"man rsync", search for "size" and the 5th hit describes it.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or
Is there a way to set rsync excludes by filesize? I already do
excludes by a wild card on the name but I needed something a bit more
sophisticated this time around.
I have files with the extension .nc (netcdf files) which tend to be
huge before the users post-process them. I want all files with a
On Thu 18 May 2006, [EMAIL PROTECTED] wrote:
> Hi!I want to exclude some files to transfer from my local to the remotehost,
> so I created a file called fileesclusi.txt,with this lines:
>
> /etc/fstab
> /etc/ntp.conf.predhclient
> /etc/udev
> /etc/openldap
> /etc/gpm-root.conf
> /home/copia/x.tx
Hi!I want to exclude some files to transfer from my local to the remotehost, so
I created a file called fileesclusi.txt,with this lines:
/etc/fstab
/etc/ntp.conf.predhclient
/etc/udev
/etc/openldap
/etc/gpm-root.conf
/home/copia/x.txt
This is the command that I use,I've not errors, but the other
On Sun, 2006-04-02 at 17:04 +0100, Martin Scharrer wrote:
> I naive try with a filter rule like "- .svn/../", which should exclude all
> parent dirs of the '.svn' dirs, doesn't work. Ok, this does not suprise me.
Right, because rsync matches the pattern against the canonical path to
each file it
Hi Guys,
I'm backuping my home dir with rsync since 1 1/2 years, which is quite nice
(I'm using the link-dir option).
Now I started to use subversion and don't like that rsync is making backups of
the checked-out working dirs. First I put all wd's in one folder (~/tmp) and
put this on an exclud
On Sat, Apr 17, 2004 at 08:45:15PM +0200, John Bowman wrote:
> I tried out the subdir-exclude patch and it works well for me. The
> next release of rlbackup (coming in a few days) will use this version.
Note that I renamed the option in the patch that comes along with the
2.6.1pre-2 release; it i
FYI
Original Message
Subject: rsync exclude file - directory name without directory contents
Date: Wed, 03 Dec 2003 22:28:37 GMT
Newsgroups: alt.os.linux,comp.os.linux.misc,comp.unix.admin
When using rsync to maintain incremental backups significant space can be
saved on the
ollowing question. What is the actual WINDOWS character code for a
*nix line feed. eg. chr(13)???.
Thanks again.
Mike Lavender
-Original Message-
From: Mike Lavender
Sent: March 21, 2003 12:22 PM
To: [EMAIL PROTECTED]
Subject: CYGWIN Rsync exclude/include problem
I'm having troubles
On Fri, Mar 21, 2003 at 12:22:15PM -0500, Mike Lavender wrote:
>
> Command Line:
> rsync -avvvzl --stats --delete --delete-excluded
> --exclude-from=c:\rsync\includes.txt /cygdrive/c/ [EMAIL PROTECTED]::LaptopBackup
First, get rid of the backslashes.
Second, drop verbosity to just -vv (not -vvv)
On Fri, Mar 21, 2003 at 12:22:15PM -0500, Mike Lavender wrote:
> + /Databases/#Include /Databases & subfolders
Do you realize that this is specifying a file whose name starts with 4
spaces and contains a '#' character in it? If you want to put comments
into your include/exclude file, they mus
Dalton Harvie wrote:
> Newbie response:
>
> How about:
>
> rsync -avvvzl --stats --delete --delete-excluded
> --exclude-from=c:\rsync\includes.txt /cygdrive/c/* [EMAIL PROTECTED]::LaptopBackup
>
> as I've had problems with the --delete flag without using the * before
NOT advisable. Adding * is unn
Mike Lavender wrote:
> I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to
> include/exclude files they way I expect it to. I have mulled over the
> list postings and man pages regarding this and I am either missing
> something or ... well I don' know.
>
> I have a drive with 12 folder
Newbie response:
How about:
rsync -avvvzl --stats --delete --delete-excluded
--exclude-from=c:\rsync\includes.txt /cygdrive/c/* [EMAIL PROTECTED]::LaptopBackup
as I've had problems with the --delete flag without using the * before (see
down the list a bit, "can't delete older file/directory li
I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to include/exclude files
they way I expect it to. I have mulled over the list postings and man pages regarding
this and I am either missing something or ... well I don' know.
I have a drive with 12 folders in the root however, I only
Because your source is "mail/", you need to remove the mail/ from your
exclude patterns. If you used "mail" without the trailing slash then
you'd need it. rsync -vv should help you debug exclude patterns.
- Dave Dykstra
On Sat, Apr 20, 2002 at 11:18:18AM -0400, Nikolaus Hiebaum wrote:
> Hi -
>
Hi -
I want to use rsync in combination with a list of files it should exclude,
but somewhere I seem to have a problem.
The problem is that the files and directories I list in the file to be
excluded are in fact synchronized on the remote server. I should add that
they are not present on the rem
Dave Dykstra <[EMAIL PROTECTED]> on 15.11.2001 17:57:08
An: Thomas Schweikle <[EMAIL PROTECTED]>
Kopie:[EMAIL PROTECTED]
Thema: Re: rsync exclude/include
On Thu, Nov 15, 2001 at 05:17:32PM +0100, Thomas Schweikle wrote:
[...]
> + /1.5.*
> + /1.5.*/i386**
On Thu, Nov 15, 2001 at 05:17:32PM +0100, Thomas Schweikle wrote:
...
> > Wait, if i386* matches directories and not just files you'll need
> >
> >+ /iso
> >+ /iso/1.5.*
> >+ /iso/1.5.*/i386**
> >- *
> >
> > so that it will include all files below the i386* directories.
> > Any dou
Dave Dykstra <[EMAIL PROTECTED]> on 13.11.2001 17:41:22
An: Thomas Schweikle <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Kopie:
Thema: Re: rsync exclude/include
> On Tue, Nov 13, 2001 at 10:00:59AM -0600, Dave Dykstra wrote:
> ...
>> A simplification i
On Tue, 13 Nov 2001, Thomas Schweikle wrote:
> I am calling rsync using
>
> rsync -avz --include-from="include" --exclude-from="exclude"
> ftp3.sourceforge.net::/netbsd/iso iso/
Looks like you didn't copy that command exactly, because rsync would
fail with a syntax error due to the '/' before th
On Tue, Nov 13, 2001 at 10:00:59AM -0600, Dave Dykstra wrote:
...
> A simplification is this:
>
> + /iso
> + /iso/1.5.*
> + /iso/1.5.*/i386*
> - *
>
> because if you don't have the slash preceding the exclude "*" it applies at
> all levels.
Wait, if i386* matches directories and
On Tue, Nov 13, 2001 at 01:44:45AM +0100, Thomas Schweikle wrote:
>
> Hi again!
>
>
>
>
>
> Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 01:21:27
>
> An: Thomas Schweikle <[EMAIL PROTECTED]>
> Kopie:
> Thema:Re: rsync exc
Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 06:29:35
An: Thomas Schweikle <[EMAIL PROTECTED]>
Kopie:
Thema: Re: rsync exclude/include [FIDUCIA virengepr?ft - ohne Gew?hr,
da? alle bekannten Viren und deren Varianten erkannt wurden.]
> so perhaps dropping th
Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 01:51:25
An: Thomas Schweikle <[EMAIL PROTECTED]>
Kopie:"Tomasz Ciolek Umm loose the spaces between the - and the pattern??
removing spaces changes matching to not match anything at all ---
transferring all files!
Really something wro
Hi again!
Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 01:21:27
An: Thomas Schweikle <[EMAIL PROTECTED]>
Kopie:
Thema: Re: rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr,
daß alle bekannten Viren und deren Varianten erkannt wurden.]
> Try dumoping
I want to rsync only a small part of a directory tree. I've set up an
exclude and an include file:
exclude holds:
/*
include holds:
/iso/1.5.*/i386
I am calling rsync using
rsync -avz --include-from="include" --exclude-from="exclude"
ftp3.sourceforge.net::/netbsd/iso iso/
but nothing happens.
41 matches
Mail list logo