Re: rsync through a server storing the changes, time delayed rsync

2006-02-25 Thread Matt McCutchen
On Sat, 2006-02-25 at 15:48 +0100, Torbjörn Nordling wrote: > True, it is a one-way-and-then-the-other-way system, except when I > forget to do the sync, so for safety it would be better to have two-way. Keep in mind that two-way systems are several times as complex as one-way systems and thus se

Re: Include Exclude .. a canonical way

2006-02-25 Thread Wayne Davison
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: http://rsync.samba.org/ftp/rsync/nightl

Re: Include Exclude .. a canonical way

2006-02-25 Thread Matt McCutchen
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 wh

Re: Include Exclude .. a canonical way

2006-02-25 Thread Harry Putnam
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 >

Re: Dynamic hash table size (with static has load)

2006-02-25 Thread Wayne Davison
On Sat, Feb 25, 2006 at 08:42:37PM +0200, Shachar Shemesh wrote: > I disagree. I think you may have meant to say was, "Utterly, totally, and in all meaningful ways false." :-) In my hasty read-through of your patch I was obviously only thinking about powers of 2, so my second critique completely

Re: Why this doesn't work??

2006-02-25 Thread Wayne Davison
On Sun, Feb 26, 2006 at 01:18:25AM +0100, Matias Surdi wrote: > So, the complete answer is that I can use in the same command --include > '/proc' --exclude '/proc/*' right? Everything is included by default, so as long as you don't use an exclude rule that matches /proc, you don't need that inclu

Re: Why this doesn't work??

2006-02-25 Thread Matias Surdi
Wayne Davison escribió: On Sun, Feb 26, 2006 at 12:49:41AM +0100, Matias Surdi wrote: I mean, exclude /proc/* but in the destination location have an empty /proc dir. Your question contains the answer: --exclude='/proc/*' ..wayne.. So, the complete answer is that I can use in the same co

Re: Why this doesn't work??

2006-02-25 Thread Wayne Davison
On Sun, Feb 26, 2006 at 12:49:41AM +0100, Matias Surdi wrote: > I mean, exclude /proc/* but in the destination location have an empty > /proc dir. Your question contains the answer: --exclude='/proc/*' ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsyn

Re: Why this doesn't work??

2006-02-25 Thread Matias Surdi
Matt McCutchen escribió: On Fri, 2006-02-24 at 23:52 +0100, Matias Surdi wrote: rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude '/home/msurdi/

Re: Include Exclude .. a canonical way

2006-02-25 Thread Matt McCutchen
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 > tim

Re: Dynamic hash table size (with static has load)

2006-02-25 Thread Shachar Shemesh
Wayne Davison wrote: >Thanks for the patch! Here's some comments: > > - You didn't change the size of the "tag" typedef (an unsigned short), > and your patch makes the value potentially overflow. > > Gotcha. I'm sending an amended patch. > - For smaller hash-table sizes, your algorithm does

Re: Dynamic hash table size (with static has load)

2006-02-25 Thread Wayne Davison
On Sat, Feb 25, 2006 at 01:25:52PM +0200, Shachar Shemesh wrote: > Attached is a patch that uses a non-predetermined hash table size, so > that the hash cell load (alpha) is never more than 80%. Thanks for the patch! Here's some comments: - You didn't change the size of the "tag" typedef (an un

Re: Include Exclude .. a canonical way

2006-02-25 Thread Harry Putnam
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 belo

Re: Why this doesn't work??

2006-02-25 Thread Matt McCutchen
On Fri, 2006-02-24 at 23:52 +0100, Matias Surdi wrote: > rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude > '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' > --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude > '/home/msurdi/.thumbnails/' gaia:/

Re: rsync through a server storing the changes, time delayed rsync

2006-02-25 Thread Torbjörn Nordling
Quoting Matt McCutchen <[EMAIL PROTECTED]>: On Tue, 2006-02-21 at 11:28 -0500, Carson Gaspar wrote: --On Tuesday, February 21, 2006 4:48 PM +0100 Torbjörn Nordling <[EMAIL PROTECTED]> wrote: > Problem: > I have two computers (one at work and one home) and I want to keep them > identical, but I

Dynamic hash table size (with static has load)

2006-02-25 Thread Shachar Shemesh
Hi list, and Wayne in particular, It was almost a year since we had the discussion (with http://lists.samba.org/archive/rsync/2005-March/011875.html as it's conclusion) regarding chances for hash collisions and large files. As now we have someone asking about synching 5TB files, I decided to actu

Why this doesn't work??

2006-02-25 Thread Matias Surdi
Hi. I can't get to work the excludes in this command: rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude '/home/msurdi/.thumbnails/' gaia:/ /usr/