Re: rsync for DOS

2003-02-17 Thread David Starks-Browning
On Sunday 16 Feb 03, Chris Simmonds writes:
 I don't think it would be too difficult, but is there any point when 
 there is a fully functional Cygwin port?

Huh?  You can already get it from http://cygwin.com/.  Or did I
misunderstand your question?

(It's not so much a port.  It simply builds and works under Cygwin.)

David

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: rsync for DOS

2003-02-17 Thread Aaron W Morris
Because rsync requires cygwin to run, other solutions (such as unison) 
immediately become more attractive.  Also, someone correct me if I am 
wrong, any limitation that cygwin has (files  2GB, etc) rsync also inherits.

At 11:49 AM 2/17/2003 +, you wrote:
On Sunday 16 Feb 03, Chris Simmonds writes:
 I don't think it would be too difficult, but is there any point when
 there is a fully functional Cygwin port?

Huh?  You can already get it from http://cygwin.com/.  Or did I
misunderstand your question?

(It's not so much a port.  It simply builds and works under Cygwin.)

David

--
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



rsync and extended attributes

2003-02-17 Thread Eric Chen
Hi,

Right now rsync is unable to preserve extended attributes when copying
files. I want to be able to copy files over from one XFS Linux machine to
another XFS Linux machine over the network and I thought rsync would be
better because it supports incremental backup. Also, rsync supports
symlinks, while file copy using rcp, scp, and smbfs do not. It would also
probably be easier to modify than file copy over NFS.


I was wondering if you could give me some direction on what to do so I can
integrate this kind of support into rsync. What would I need to modify in
the source code so rsync could preserve extended attributes when copying? I
would appreciate any input or suggestions that you might have to help me in
this project.


Thanks,
~Eric

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Include files though directory excluded

2003-02-17 Thread Gregor Waluga
Hi,

I got a little question on the rsync-option include/exclude:
I excluded all hidden files in my home-directory but I want two files to be 
included. I used following command:

gregor@notebook:~ rsync -avzuPn -e ssh --exclude=.* --exclude=* 
--include=.kderc --include=.gaimrc /home/gregor/ 192.168.0.1:/home/gregor/
building file list ...
1 file to consider
wrote 69 bytes  read 20 bytes  178.00 bytes/sec
total size is 0  speedup is 0.00
gregor@notebook:~

Why this transfer was not successful? The syntax is correct (I think).


My general problem is, that I want to use an include-file, where also exludes 
are listed. Here's my file (base directory is /home/gregor/):
- *
- .*
+ .kde/share/apps/kabc/*
+ .kde/share/apps/kbear/*
+ .kde/share/apps/kopete/*
+ .kde/share/apps/korganizer/*
+ .kde/share/apps/quanta/*
+ .gaim/*
+ .gaimrc
+ .OpenOffice/user/config/*
+ .OpenOffice/user/wordbook/*

What's wrong here??
 
Thanks for your support!

-- 
Regards,
Gregor
http://linux.waluga.de
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: Include files though directory excluded

2003-02-17 Thread Max Bowsher
Gregor Waluga wrote:
 Hi,

 I got a little question on the rsync-option include/exclude:
 I excluded all hidden files in my home-directory but I want two files
 to be included. I used following command:

 gregor@notebook:~ rsync -avzuPn -e ssh --exclude=.* --exclude=*
 --include=.kderc --include=.gaimrc /home/gregor/
 192.168.0.1:/home/gregor/ building file list ...
 1 file to consider
 wrote 69 bytes  read 20 bytes  178.00 bytes/sec
 total size is 0  speedup is 0.00
 gregor@notebook:~

 Why this transfer was not successful? The syntax is correct (I think).


 My general problem is, that I want to use an include-file, where also
 exludes are listed. Here's my file (base directory is /home/gregor/):
 - *
 - .*
 + .kde/share/apps/kabc/*
 + .kde/share/apps/kbear/*
 + .kde/share/apps/kopete/*
 + .kde/share/apps/korganizer/*
 + .kde/share/apps/quanta/*
 + .gaim/*
 + .gaimrc
 + .OpenOffice/user/config/*
 + .OpenOffice/user/wordbook/*

 What's wrong here??

You exclude everything on the first line. Rsync never looks beyond the
initial exclude, because it matches _everything_.

Max.

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: Include files though directory excluded

2003-02-17 Thread Gregor Waluga
Am Dienstag, 18. Februar 2003 01:04 schrieb Max Bowsher:

Hi,

  My general problem is, that I want to use an include-file, where also
  exludes are listed. Here's my file (base directory is /home/gregor/):
  - *
  - .*
  + .kde/share/apps/kabc/*
  + .kde/share/apps/kbear/*
  + .kde/share/apps/kopete/*
  + .kde/share/apps/korganizer/*
  + .kde/share/apps/quanta/*
  + .gaim/*
  + .gaimrc
  + .OpenOffice/user/config/*
  + .OpenOffice/user/wordbook/*
 
  What's wrong here??

 You exclude everything on the first line. Rsync never looks beyond the
 initial exclude, because it matches _everything_.

OK, my file looks now as follows:

+ .kde/share/apps/kabc/
+ .kde/share/apps/kbear/
+ .kde/share/apps/kopete/
+ .kde/share/apps/korganizer/
+ .kde/share/apps/quanta/
+ .gaim/
+ .gaimrc
+ .OpenOffice/user/config/
+ .OpenOffice/user/wordbook/
- *
- .*

My console output is:
building file list ...
3 files to consider
.gaimrc
wrote 356 bytes  read 24 bytes  760.00 bytes/sec
total size is 1949  speedup is 5.13

Why was only this one file transferred? I want the other directories to be 
synchronized, too. I do know that e.g. the OpenOffice wordbook isn't 
synchronized yet!
The tree on both machines is equal (base directory is /home/gregor/).

Thanks a lot for any help!

-- 
Regards,
Gregor
http://linux.waluga.de
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: Include files though directory excluded

2003-02-17 Thread Max Bowsher
Gregor Waluga wrote:
 Am Dienstag, 18. Februar 2003 01:04 schrieb Max Bowsher:

 Hi,

 My general problem is, that I want to use an include-file, where
 also exludes are listed. Here's my file (base directory is
 /home/gregor/):
 - *
 - .*
 + .kde/share/apps/kabc/*
 + .kde/share/apps/kbear/*
 + .kde/share/apps/kopete/*
 + .kde/share/apps/korganizer/*
 + .kde/share/apps/quanta/*
 + .gaim/*
 + .gaimrc
 + .OpenOffice/user/config/*
 + .OpenOffice/user/wordbook/*

 What's wrong here??

 You exclude everything on the first line. Rsync never looks beyond
 the initial exclude, because it matches _everything_.

 OK, my file looks now as follows:

 + .kde/share/apps/kabc/
 + .kde/share/apps/kbear/
 + .kde/share/apps/kopete/
 + .kde/share/apps/korganizer/
 + .kde/share/apps/quanta/
 + .gaim/
 + .gaimrc
 + .OpenOffice/user/config/
 + .OpenOffice/user/wordbook/
 - *
 - .*

 My console output is:
 building file list ...
 3 files to consider
 .gaimrc
 wrote 356 bytes  read 24 bytes  760.00 bytes/sec
 total size is 1949  speedup is 5.13

 Why was only this one file transferred? I want the other directories
 to be synchronized, too. I do know that e.g. the OpenOffice wordbook
 isn't synchronized yet!
 The tree on both machines is equal (base directory is /home/gregor/).

Well, now you are including the directories, but you aren't including the
files within them!

Max.

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: Include files though directory excluded

2003-02-17 Thread Max Bowsher
Gregor Waluga wrote:
 + .kde/share/apps/kabc/
 + .kde/share/apps/kbear/
 + .kde/share/apps/kopete/
 + .kde/share/apps/korganizer/
 + .kde/share/apps/quanta/
 + .gaim/
 + .gaimrc
 + .OpenOffice/user/config/
 + .OpenOffice/user/wordbook/
 - *
 - .*

+ .kde/share/apps/kabc/
+ .kde/share/apps/kabc/**
+ .kde/share/apps/kbear/
+ .kde/share/apps/kbear/**
+ .kde/share/apps/kopete/
+ .kde/share/apps/kopete/**
+ .kde/share/apps/korganizer/
+ .kde/share/apps/korganizer/**
+ .kde/share/apps/quanta/
+ .kde/share/apps/quanta/**
+ .gaim/
+ .gaim/**
+ .gaimrc
+ .OpenOffice/user/config/
+ .OpenOffice/user/config/**
+ .OpenOffice/user/wordbook/
+ .OpenOffice/user/wordbook/**
- *

NB: * will match dotfiles. No need for .* as well.

Max.

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: Include files though directory excluded

2003-02-17 Thread jw schultz
On Tue, Feb 18, 2003 at 01:04:28AM -, Max Bowsher wrote:
 Gregor Waluga wrote:
  + .kde/share/apps/kabc/
  + .kde/share/apps/kbear/
  + .kde/share/apps/kopete/
  + .kde/share/apps/korganizer/
  + .kde/share/apps/quanta/
  + .gaim/
  + .gaimrc
  + .OpenOffice/user/config/
  + .OpenOffice/user/wordbook/
  - *
  - .*
 
 + .kde/share/apps/kabc/
 + .kde/share/apps/kabc/**
 + .kde/share/apps/kbear/
 + .kde/share/apps/kbear/**
 + .kde/share/apps/kopete/
 + .kde/share/apps/kopete/**
 + .kde/share/apps/korganizer/
 + .kde/share/apps/korganizer/**
 + .kde/share/apps/quanta/
 + .kde/share/apps/quanta/**
 + .gaim/
 + .gaim/**
 + .gaimrc
 + .OpenOffice/user/config/
 + .OpenOffice/user/config/**
 + .OpenOffice/user/wordbook/
 + .OpenOffice/user/wordbook/**
 - *
 
 NB: * will match dotfiles. No need for .* as well.
 

Still need to add parent directories.
+ .kde/
+ .kde/share/
+ .kde/share/apps/
and
+ .OpenOffice/
+ .OpenOffice/user/
otherwise * will exclude the parents before you traverse
downward.

Run with -vv to see rule application.

-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html