exclude an entire dir from syncing ??

2003-03-06 Thread zenn
hi all...

is it possible to exclude an entire dir from syncing (to remote dir) if the
dir is in the sync path?

regards
-z

The missing link between animals and the real human being is most likely
ourselves.
Austrian professor of biology and Nobel laureate (1973),  Konrad Lorenz

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


Questions about exclude-file

2003-03-06 Thread Max Kipness
Is there anyway to keep rsync from reporting an error when attempting to
sync pagefile.sys (through a samba share)? It seems like any type of
exclusion of the file gets ignored, why is that? Anyway around it?

Also, of experimented with the exclude-from syntax quite a bit and
haven't figure out how you could just backup all .doc files on a file
system and exclude everything else.

Thanks - 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: exclude an entire dir from syncing ??

2003-03-06 Thread Tom Freeman
I think you just use the --exclude=/directory option
Tom
--
Tom Freeman
Web Developer
NISS - EduServ
+44 (0)1225 474371
- Original Message -
From: zenn [EMAIL PROTECTED]
To: rsync [EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 2:04 PM
Subject: exclude an entire dir from syncing ??


 hi all...

 is it possible to exclude an entire dir from syncing (to remote dir) if
the
 dir is in the sync path?

 regards
 -z

 The missing link between animals and the real human being is most likely
 ourselves.
 Austrian professor of biology and Nobel laureate (1973),  Konrad Lorenz

 --
 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


Getting nowhere syncing a download

2003-03-06 Thread bob parker
I must be doing something wrong with this, but I am trying to correct a 
downloaded iso which does not match the source md5sum.

This is what I do:

rsync rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso 
KNOPPIX_V3.1-2003-01-20-EN.iso

The command returns in a few seconds without any error message and nothing 
has changed with the md5sum on my copy.

What am I doing wrong?

Thanks
Bob
-- 
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: Getting nowhere syncing a download

2003-03-06 Thread Max Bowsher
bob parker wrote:
 I must be doing something wrong with this, but I am trying to correct
 a downloaded iso which does not match the source md5sum.
 
 This is what I do:
 
 rsync
 rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
 KNOPPIX_V3.1-2003-01-20-EN.iso 
 
 The command returns in a few seconds without any error message and
 nothing has changed with the md5sum on my copy.

Try using -vv for details on what's happening.


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: Getting nowhere syncing a download

2003-03-06 Thread bob parker
On Fri, 7 Mar 2003 02:57, Max Bowsher wrote:
 bob parker wrote:
  I must be doing something wrong with this, but I am trying to correct
  a downloaded iso which does not match the source md5sum.
 
  This is what I do:
 
  rsync
  rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
  KNOPPIX_V3.1-2003-01-20-EN.iso
 
  The command returns in a few seconds without any error message and
  nothing has changed with the md5sum on my copy.

 Try using -vv for details on what's happening.


 Max.

Ok, here it is.
[EMAIL PROTECTED]:~/archive/knoppix$ rsync -vv 
rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso 
KNOPPIX_V3.1-2003-01-20-EN.iso
opening tcp connection to ftp.gwdg.de port 873
KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
wrote 102 bytes  read 85 bytes  41.56 bytes/sec
total size is 732921856  speedup is 3919368.21

And the md5sum check

[EMAIL PROTECTED]:~/archive/knoppix$ md5sum -c KNOPPIX_V3.1-2003-01-20-EN.iso.md5
md5sum: MD5 check failed for 'KNOPPIX_V3.1-2003-01-20-EN.iso'

I downloaded the md5sum again just to be sure but it still fails.

Thanks
Bob


-- 
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: Getting nowhere syncing a download

2003-03-06 Thread Max Bowsher
bob parker wrote:
 
 Ok, here it is.
 [EMAIL PROTECTED]:~/archive/knoppix$ rsync -vv
 rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
 KNOPPIX_V3.1-2003-01-20-EN.iso
 opening tcp connection to ftp.gwdg.de port 873
 KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
 wrote 102 bytes  read 85 bytes  41.56 bytes/sec
 total size is 732921856  speedup is 3919368.21
 
 And the md5sum check
 
 [EMAIL PROTECTED]:~/archive/knoppix$ md5sum -c
 KNOPPIX_V3.1-2003-01-20-EN.iso.md5 md5sum: MD5 check failed for
 'KNOPPIX_V3.1-2003-01-20-EN.iso' 
 
 I downloaded the md5sum again just to be sure but it still fails.

Curious. I wonder why rsync thinks the file is up to date.

Maybe the -I or -c options would make it look more carefully.


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: Getting nowhere syncing a download

2003-03-06 Thread bob parker
On Fri, 7 Mar 2003 03:47, Max Bowsher wrote:
 bob parker wrote:
  Ok, here it is.
  [EMAIL PROTECTED]:~/archive/knoppix$ rsync -vv
  rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
  KNOPPIX_V3.1-2003-01-20-EN.iso
  opening tcp connection to ftp.gwdg.de port 873
  KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
  wrote 102 bytes  read 85 bytes  41.56 bytes/sec
  total size is 732921856  speedup is 3919368.21
 
  And the md5sum check
 
  [EMAIL PROTECTED]:~/archive/knoppix$ md5sum -c
  KNOPPIX_V3.1-2003-01-20-EN.iso.md5 md5sum: MD5 check failed for
  'KNOPPIX_V3.1-2003-01-20-EN.iso'
 
  I downloaded the md5sum again just to be sure but it still fails.

 Curious. I wonder why rsync thinks the file is up to date.

 Maybe the -I or -c options would make it look more carefully.

The -l option (still verbose)
[EMAIL PROTECTED]:~/archive/knoppix$ rsync -l -vv 
rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso 
KNOPPIX_V3.1-2003-01-20-EN.iso
opening tcp connection to ftp.gwdg.de port 873
KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
wrote 103 bytes  read 85 bytes  28.92 bytes/sec
total size is 732921856  speedup is 3898520.51

The -c option
[EMAIL PROTECTED]:~/archive/knoppix$ rsync -c -vv 
rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso 
KNOPPIX_V3.1-2003-01-20-EN.iso
opening tcp connection to ftp.gwdg.de port 873
rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)

Weird!

Bob
-- 
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: Getting nowhere syncing a download

2003-03-06 Thread Max Bowsher
bob parker wrote:
 On Fri, 7 Mar 2003 03:47, Max Bowsher wrote:
 bob parker wrote:
 Ok, here it is.
 [EMAIL PROTECTED]:~/archive/knoppix$ rsync -vv
 rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
 KNOPPIX_V3.1-2003-01-20-EN.iso
 opening tcp connection to ftp.gwdg.de port 873
 KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
 wrote 102 bytes  read 85 bytes  41.56 bytes/sec
 total size is 732921856  speedup is 3919368.21

 And the md5sum check

 [EMAIL PROTECTED]:~/archive/knoppix$ md5sum -c
 KNOPPIX_V3.1-2003-01-20-EN.iso.md5 md5sum: MD5 check failed for
 'KNOPPIX_V3.1-2003-01-20-EN.iso'

 I downloaded the md5sum again just to be sure but it still fails.

 Curious. I wonder why rsync thinks the file is up to date.

 Maybe the -I or -c options would make it look more carefully.

 The -l option (still verbose)

The -(uppercase I) option, not the -(lowercase l) option.

 [EMAIL PROTECTED]:~/archive/knoppix$ rsync -l -vv
 rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
 KNOPPIX_V3.1-2003-01-20-EN.iso
 opening tcp connection to ftp.gwdg.de port 873
 KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
 wrote 103 bytes  read 85 bytes  28.92 bytes/sec
 total size is 732921856  speedup is 3898520.51

 The -c option
 [EMAIL PROTECTED]:~/archive/knoppix$ rsync -c -vv
 rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
 KNOPPIX_V3.1-2003-01-20-EN.iso
 opening tcp connection to ftp.gwdg.de port 873
 rsync: connection unexpectedly closed (24 bytes read so far)
 rsync error: error in rsync protocol data stream (code 12) at
 io.c(150)

 Weird!

Very. If you try the same command again? (i.e. was it just a network
problem?)

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: Getting nowhere syncing a download

2003-03-06 Thread bob parker
On Fri, 7 Mar 2003 04:10, Max Bowsher wrote:
 bob parker wrote:
  On Fri, 7 Mar 2003 03:47, Max Bowsher wrote:
  bob parker wrote:
  Ok, here it is.
  [EMAIL PROTECTED]:~/archive/knoppix$ rsync -vv
  rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso
  KNOPPIX_V3.1-2003-01-20-EN.iso
  opening tcp connection to ftp.gwdg.de port 873
  KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
  wrote 102 bytes  read 85 bytes  41.56 bytes/sec
  total size is 732921856  speedup is 3919368.21
 
  And the md5sum check
 
  [EMAIL PROTECTED]:~/archive/knoppix$ md5sum -c
  KNOPPIX_V3.1-2003-01-20-EN.iso.md5 md5sum: MD5 check failed for
  'KNOPPIX_V3.1-2003-01-20-EN.iso'
 
  I downloaded the md5sum again just to be sure but it still fails.
 
  Curious. I wonder why rsync thinks the file is up to date.
 
  Maybe the -I or -c options would make it look more carefully.
 
  The -l option (still verbose)

 The -(uppercase I) option, not the -(lowercase l) option.

The 'L' option:
[EMAIL PROTECTED]:~/archive/knoppix$ rsync -L -vv 
rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso 
KNOPPIX_V3.1-2003-01-20-EN.iso
opening tcp connection to ftp.gwdg.de port 873
KNOPPIX_V3.1-2003-01-20-EN.iso is uptodate
wrote 103 bytes  read 85 bytes  34.18 bytes/sec
total size is 732921856  speedup is 3898520.51

Repeat c option:
[EMAIL PROTECTED]:~/archive/knoppix$ rsync -c -vv 
rsync://ftp.gwdg.de/pub/linux/knoppix/KNOPPIX_V3.1-2003-01-20-EN.iso 
KNOPPIX_V3.1-2003-01-20-EN.iso
opening tcp connection to ftp.gwdg.de port 873
rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)

Still the same.

Can't help thinking I'm missing something dreadfully obvious but I'm blind to 
whatever it is.

One thing I did try was to rename the .md5 file and then used rsync to 
download another copy. No options and it just worked. Of course that is a 
tiny file, the one I'm trying to repair is 699 meg so I do not want to do a 
new download of that.

Bob


Bob
-- 
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: Getting nowhere syncing a download

2003-03-06 Thread Max Bowsher
bob parker wrote:
 On Fri, 7 Mar 2003 04:10, Max Bowsher wrote:
 bob parker wrote:
 On Fri, 7 Mar 2003 03:47, Max Bowsher wrote:
 Curious. I wonder why rsync thinks the file is up to date.
 
 Maybe the -I or -c options would make it look more carefully.
 
 The -l option (still verbose)
 
 The -(uppercase I) option, not the -(lowercase l) option.
 
 The 'L' option:

No, still wrong, I, not L.

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: Getting nowhere syncing a download SUCCESS

2003-03-06 Thread bob parker
On Fri, 7 Mar 2003 04:32, Max Bowsher wrote:
 bob parker wrote:
  On Fri, 7 Mar 2003 04:10, Max Bowsher wrote:
  bob parker wrote:
  On Fri, 7 Mar 2003 03:47, Max Bowsher wrote:
  Curious. I wonder why rsync thinks the file is up to date.
 
  Maybe the -I or -c options would make it look more carefully.
 
  The -l option (still verbose)
 
  The -(uppercase I) option, not the -(lowercase l) option.
 
  The 'L' option:

 No, still wrong, I, not L.

 Max.

And I've just changed the font in my KMail so I can now see the difference.

It went off and took it's time. So now it passed the md5sum test.

Thanks for your patience.

Bob


-- 
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 transfer efficiency

2003-03-06 Thread Li, Junru(Christina)
Hi,

Does anyone have the data of the rsync transfer speed vs. other tools like ftp?
Or where is the place to find such information that compare the transfer speed
between different tools?

If I were to transfer a single large file, say 500Mega Byte, previously
non-existent on the remote host, what would be the fastest tool I can choose for
transfer?

Thanks,
Christina Li

-- 
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 transfer efficiency

2003-03-06 Thread jw schultz
On Fri, Mar 07, 2003 at 10:29:36AM +0800, Li, Junru(Christina) wrote:
 Hi,
 
 Does anyone have the data of the rsync transfer speed vs. other tools like ftp?
 Or where is the place to find such information that compare the transfer speed
 between different tools?
 
 If I were to transfer a single large file, say 500Mega Byte, previously
 non-existent on the remote host, what would be the fastest tool I can choose for
 transfer?

If you are on a dialup connection the fastest is to send a
CD-R overnight express.

Do you care if the file is corrupted in transit?  If so you
need to factor in robust checksumming at both ends or use a
protocol like rsync that has that built in.

Until you get a network between 60Mb and 3500Mb the network
is the bottleneck.  There isn't going to be much variation
in actual transfer speed under normal conditions.  Some
tools might send tiny packets and the window-size could
become an issue on high latency links.

While rsync can be used as a transfer tool that isn't its
main function.  The real value of rsync is for synchronizing
two copies of the same file(set).  Many other tools may
transfer the file faster than rsync the first time.



-- 

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