Prefer -u not to change newer files.

2008-01-26 Thread Donald Axel
Hi List, Quoting man page: In the currently implementation, a difference of file format is always considered to be important enough for an update, no matter what date is on the objects. In other words, if the source has a directo

rsync over Iridium modem, 240 bytes per second

2008-01-26 Thread Michael Ashley
Dear rsync gurus, I'm using rsync to transfer large amounts (megabytes per day!) of data over an Iridium modem link (240 bytes per second) from Antarctica. One problem is that the Iridium link has a mean uptime of perhaps 30 minutes. Implementing partial transfers is crucial, so I was using rsy

Re: Rsync iconv (Cygwin) (file has vanished)

2008-01-26 Thread Brendan Grieve
Wayne Davison wrote: On Thu, Jan 24, 2008 at 02:09:30PM +0900, Brendan Grieve wrote: I get the following error on files that have russian cryllic letters: - file has vanished: "/cygdrive/D/Data_Tier1/Home/xxx/??? " See the prior discussions about how MS Windows is lyin

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Robert DuToit
Matt, I would be happy to implement and test any of these things on OS 10.3 thru 10.5. the only hitch is I am only applescript savvy with a smattering of OBJ-c. so can help if someone tells me what to do, what code to implement etc. But this is probably where Vitorio comes in- he sounds e

DO NOT REPLY [Bug 5201] Rsync lets user corrupt dest by applying non-inplace batch in inplace mode

2008-01-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5201 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

DO NOT REPLY [Bug 5201] Rsync lets user corrupt dest by applying non-inplace batch in inplace mode

2008-01-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5201 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

DO NOT REPLY [Bug 5221] rsync error: partial transfer (code 23) at main.c(576)

2008-01-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5221 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Matt McCutchen
On Sat, 2008-01-26 at 16:43 -0500, Matt McCutchen wrote: > if (mac && N == "com.apple.crtime96") > getattrlist(ATTR_CMN_CRTIME); > else if (mac < 10.4) { > if (N == "com.apple.FinderInfo") > getattrlist(ATTR_CMN_FNDRINFO); > else if (N == "com.apple.ResourceFork") >

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Matt McCutchen
On Sat, 2008-01-26 at 15:52 -0500, Matt McCutchen wrote: > Rsync is > unlikely to be able to manipulate xattrs on 10.3 unless we can figure > out what the old API is and add it as another case in > lib/sysxattrs.{c,h} . I poked around some more. Here is my current understanding of the xattr situa

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Matt McCutchen
On Sat, 2008-01-26 at 06:36 -0500, Robert DuToit wrote: > I tried > > ./configure --disable-acl-support --enable-xattr-support > > and got > > `XATTR_NOFOLLOW' undeclared (first use in this function) Based on the Apple's man page for getxattr [1], it looks like Mac OS X did not gain support for

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Vitorio Machado
Well, it seems that we just use definitions from the system acl.h So putting the acl.h attached into /Developer/SDKs/MacOSX10.3.9.sdk/ usr/include/sys/ should correct first errors. I'm still studying the code to see if it needs other changes. acl.h Description: Binary data Le 26 janv. 08 à 1

Re: Rsync iconv (Cygwin) (file has vanished)

2008-01-26 Thread Wayne Davison
On Thu, Jan 24, 2008 at 02:09:30PM +0900, Brendan Grieve wrote: > I get the following error on files that have russian cryllic letters: - > file has vanished: "/cygdrive/D/Data_Tier1/Home/xxx/??? " See the prior discussions about how MS Windows is lying to rsync about what the fil

Re: --exclude patterns

2008-01-26 Thread Wayne Davison
On Fri, Jan 25, 2008 at 06:02:07PM -0800, Randy Dunlap wrote: > rsync --include='/test/runs/***' \ > --exclude='--exclude=/test/runs/? --exclude=/test/runs/?? > --exclude=/test/runs/??? --exclude=/test/runs/1???' \ > -avz -e ssh --progress --delete $srcdir $dest:$destdir/ Firstly, the weird optio

Re: --exclude patterns

2008-01-26 Thread Jon
Just blowing through my email quickly, but have a thought. I use include and exclude files rather than specifying them on the command line. Using files, I would think that including /test/runs/2??? would work and preclude the need for any excludes. I would think the same thing would work on the co

--exclude patterns

2008-01-26 Thread Randy Dunlap
Hi, I want to rsync a large number of files from A to B, but I need to exclude certain files. Specifically, A has /test/runs/{1,2,3,...,2500}, i.e., about 2500 directories here. However, I only want to transfer the directories that are numbered 2000 or higher, i.e., I want to exclude /test/runs/{

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Vitorio Machado
Sorry, I've misread your mail. But don't give up, I think that if we correct the headers in 10.3, we have a chance to make it compile. We should look at the ACL and xattr code and see if there are only constant and variable definition on the system headers that are not found in 10.3 or if i

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Robert DuToit
Hi Matt, a footnote: Back on OS 10.5.1, I ran backup bouncer on the compiled OS10.3 rsync (without ACL, Xattrs enabled) Verifying:basic-permissions ... ok Verifying: timestamps ... Sub-test:modification time ... ok ok Verifying: symlinks ... ok Verifying:s

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Robert DuToit
Hi Matt, I tried ./configure --disable-acl-support --enable-xattr-support and got `XATTR_NOFOLLOW' undeclared (first use in this function) so then /configure --disable-acl-support --disable-xattr-support which worked then added patches patch -p1 It works and flags seem to work at least fo

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-26 Thread Vitorio Machado
Hello, It's cool to see that I'm not the only one trying this! @Matt: I'm not in front of the 10.3 computer, but I'm almost sure that the --enable-xattr-support option makes the "make" want to compile acls.c giving the same errors. If the problem is only data structure and constant definit