On Thu, 24 Dec 2009, LuKreme wrote:
> I thought this command would do what I wanted, but instead it doesn't
> transfer any files:
>
> rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/
> --exclude=* mail::root/usr/home /backup/usr/
>
> I want to backup ONLY the /usr/home/*
On Dec 24, 2009, at 10:32, Wayne Davison wrote:
For instance, assuming
that the Maildir is in the root of the transfer, this is better:
--include=/Maildir/ --exclude=/*
Well, it's not at the top level as I said. The Maildirs are in /usr/
home/*/Maildir/ and I want to sync them all and the
On Thu, Dec 24, 2009 at 05:50:22AM -0700, LuKreme wrote:
> rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/
> --exclude=* mail::root/usr/home /backup/usr/
That will send the Maildir directory (without any content) if that
directory exists in the root of the transfer. If yo
I thought this command would do what I wanted, but instead it doesn't transfer
any files:
rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/
--exclude=* mail::root/usr/home /backup/usr/
I want to backup ONLY the /usr/home/*/Maildir directories. I don't want any
other files
rom splitting the argument in two.
Write a filter file that contains all the includes from your include
file (each preceded by +) and all the excludes from your exclude file
(each preceded by -). Then use this filter file instead of the include
and exclude files, not in addition to them. Usin
Le Samedi 15 Avril 2006 11:39, Matt McCutchen a écrit :
> This is a very common problem that people encounter with includes. If
> you exclude .kde, rsync won't even go inside, so it won't notice
> that .kde/share/apps/kmail is included.
>
> There are three solutions. I give example filter files
On Sat, 2006-04-15 at 02:58 -0400, Marc Collin wrote:
> would like to backup kmail and kwalet in my include file i do:
>
> .kde/share/apps/kmail/
> .kde/share/apps/kwallet/
This is a very common problem that people encounter with includes. If
you exclude .kde, rsync won't even go inside, so it w
On Fri, 2006-04-14 at 21:38 -0400, Marc Collin wrote:
> OPTS="-a -r -v -p -t --delete-before --exclude-from=$EXCLUDE
> --include-from=$INCLUDE"
>
> rsync don't copy my kde folder
Earlier filters override later filters. Since you specify the exclude
file before the include file, the exclude p
hi
i try to include and exclude file when i do a rsync
#!/bin/sh
# directory to backup
BDIR=/home/collinm/test/home
# includes file - this contains a wildcard pattern per line of files to
exclude
INCLUDE=include.txt
# excludes file - this contains a wildcard pattern per line of files to
On Sun, Nov 27, 2005 at 05:13:30PM -0500, Aaron Morris wrote:
| I think you are trying to include too many things in a single
| include/exclude statement. You need to break everything down to
| files, folders, and sets of files in a single folder. For example, if
| you want to transfer a file 3
On 11/27/05, Phil Howard <[EMAIL PROTECTED]> wrote:
> I was under the impression that --include and --exclude worked by matching
> patterns in the order given, and whichever matched first, whether that was
> an include or exclude determined the action for that file. I have a big
&
On Sun, Nov 27, 2005 at 11:10:39AM -0600, Phil Howard wrote:
> --include '**/2005/07.tar.bz2' --exclude '**'
Taken from the manpage:
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 includ
I was under the impression that --include and --exclude worked by matching
patterns in the order given, and whichever matched first, whether that was
an include or exclude determined the action for that file. I have a big
directory from which I am attempting to transfer selected files. I want
On Thu, Jun 16, 2005 at 10:00:07AM +0200, fRANz wrote:
> rsync -avzHP --include "3.4/" --include "3.4/**" --include "4.0/"
> --include "4.0/**" --exclude "*" --bwlimit=30
> rsync.example.foo::packages/centos/* .
An easier way to do this is to use:
--include=/3.4/ --include=/4.0/ --exclude='/*
Hi guys,
actually with this command:
rsync -avzHP --include "3.4/" --include "3.4/**" --include "4.0/"
--include "4.0/**" --exclude "*" --bwlimit=30
rsync.example.foo::packages/centos/* .
i correctly rsync only 3.4 and 4.0 dirs of repository...
I would like to rsync only dirs "xxx" and "yyy" fro
15 matches
Mail list logo