Wayne Davison wrote:
> Bob Proulx wrote:
> > rsync -a --include '*/' --include '**/a1/foo' --exclude "*" . example.com:/tmp/
>
> Yes, that is the way to use include/exclude without first figuring
> out where all the foo files are. As you noted that results in all
> directories in the tree being
On Sat, Jul 03, 2004 at 05:25:05PM -0600, Bob Proulx wrote:
> rsync -a --include '*/' --include '**/a1/foo' --exclude "*" . example.com:/tmp/
Yes, that is the way to use include/exclude without first figuring
out where all the foo files are. As you noted that results in all
directories in the t
I am attempting to copy only certain files down a directory tree. I
know which files I want. I could generate a file of just those with
'find'. But having read the docs I have been trying to use the
--include and --exclude patterns to have rsync pick the right files
itself. But I can't figure i
On Thu, Feb 06, 2003 at 01:58:28AM -, Max Bowsher wrote:
> >> --include .mozilla
> >> --include .mozilla/arb/
> >> --exclude .mozilla/arb/*
> >> --include .mozilla/arb/kfgj0v2y.slt/
> >> --include .mozilla/arb/kfgj0v2y.slt/bookmarks.html
> >> --include .mozilla/arb/kfgj0v2y.slt/prefs.js
> >> -
On Thu, Feb 06, 2003 at 01:58:28AM -, Max Bowsher wrote:
> It would copy nothing from arb, surely?
Sorry, I meant to say that it might copy more from .mozzilla than just
arb, but a re-edit ruined that thought.
> I don't think .mozilla was in rpm:
You're right, I missed that. Duh. Hopefully
Wayne Davison wrote:
> On Thu, Feb 06, 2003 at 01:17:34AM -, Max Bowsher wrote:
>> --include .mozilla
>> --include .mozilla/arb/
>> --exclude .mozilla/arb/*
>> --include .mozilla/arb/kfgj0v2y.slt/
>> --include .mozilla/arb/kfgj0v2y.slt/bookmarks.html
>> --include .mozilla/arb/kfgj0v2y.slt/prefs
On Thu, Feb 06, 2003 at 01:17:34AM -, Max Bowsher wrote:
> --include .mozilla
> --include .mozilla/arb/
> --exclude .mozilla/arb/*
> --include .mozilla/arb/kfgj0v2y.slt/
> --include .mozilla/arb/kfgj0v2y.slt/bookmarks.html
> --include .mozilla/arb/kfgj0v2y.slt/prefs.js
> --exclude .mozilla/arb/
Anand Buddhdev wrote:
> I'm using rsync 2.5.4 on my RedHat 7.3 client laptop and rsync 2.5.5
> on my RedHat 8.0 server. On the client, I have a directory "rpm" with
> 5 subdirectories, out of which I only want to copy the one called
> SRPMS
> across. I also have another directory ".mozilla" out of
I'm using rsync 2.5.4 on my RedHat 7.3 client laptop and rsync 2.5.5
on my RedHat 8.0 server. On the client, I have a directory "rpm" with
5 subdirectories, out of which I only want to copy the one called SRPMS
across. I also have another directory ".mozilla" out of which I want to
copy across 2 fi
On Tue, Dec 10, 2002 at 09:18:06AM -0500, marco wrote:
> I even tried this but it include the whole /var/ folder !
> I just want /var/lib/zope.
The solution is that after you include something that is too general,
you need to exclude what you don't want. Like this:
/etc
/var
- /*
/var/lib
- /va
This is why regular expression matching is 1000 times more powerful.
I submitted a patch a few months ago.
marco ([EMAIL PROTECTED]) wrote:
> Le Mon, 9 Dec 2002 21:22:48 -0800
> jw schultz <[EMAIL PROTECTED]> ?crivait :
>
> I found this on the FAQ-O-Matic from the rsync webite
>
> http://rsync.s
Le Mon, 9 Dec 2002 21:22:48 -0800
jw schultz <[EMAIL PROTECTED]> écrivait :
I found this on the FAQ-O-Matic from the rsync webite
http://rsync.samba.org/fom-serve/cache/164.html
I'm so agree...
Is it possible to make it true ?
thanks
--
marco
--
Clé PGP publique : https://iftbqp.mine.nu/marc
Le Mon, 9 Dec 2002 21:22:48 -0800
jw schultz <[EMAIL PROTECTED]> écrivait :
> You forgot to include /var/ and /var/lib/ so it never even
> sees /var/lib/zope/
I even tried this but it include the whole /var/ folder !
I just want /var/lib/zope.
--
marco
--
Clé PGP publique : https://iftbqp.mine.
On Tue, Dec 10, 2002 at 12:08:54AM -0500, marco wrote:
> Hi,
> I just subscribe to ask you a question about patterns in exclude-include
> files.
> I just want some folders to be rsynced to a remote machine.
> What I tried is :
> IncludeFile
> -
> /etc/
> /var/lib/zope/
> -
Hi,
I just subscribe to ask you a question about patterns in exclude-include
files.
I just want some folders to be rsynced to a remote machine.
What I tried is :
IncludeFile
-
/etc/
/var/lib/zope/
- /*
---
result of
$$ rsync -avvrn --delete --delete-exc
Carlos Molina <[EMAIL PROTECTED]> wrote:
> Nope, isn't works, because rsync only fetchs /etc directory.
> On the output, you could see that /home nad /var is excluded (I
> suppose that is excluded by /* pattern)
Blah. Your right. This will work:
+ /etc
+ /home
+ /home/cmolina
- /home/*
+ /var
+
Carlos Molina <[EMAIL PROTECTED]> wrote:
> + /etc
> + /home/cmolina
> + /var/log
> - - /*
Huh? "- -" ? Mistake again?
> rsync isn't include directories under /home and /var, because it
> exclude recursively on /*
Well sure, but it would have included dirs under /home/cmolina and
/var/log.
The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|Carlos Molina <[EMAIL PROTECTED]> wrote:
|
|>-BEGIN PGP SIGNED MESSAGE-
|>Hash: SHA1
|>
|>Greetings.
|>
|>I'm trying to make some backups using rsync, but I have some questions
|>about it.
|>
|>First, on the receiving side, i make a test with
Carlos Molina <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Greetings.
>
> I'm trying to make some backups using rsync, but I have some questions
> about it.
>
> First, on the receiving side, i make a test with this line.
>
> rsync -vv -e ssh --recursive --includ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greetings.
I'm trying to make some backups using rsync, but I have some questions
about it.
First, on the receiving side, i make a test with this line.
rsync -vv -e ssh --recursive --include-from=include.txt
cmolina@www-01:/ /tmp/cmolina
On incl
20 matches
Mail list logo