Re: I also am getting hang/timeout using rsync 2.4.6 -e ssh

2000-10-27 Thread Harry Putnam
Dave Dykstra [EMAIL PROTECTED] writes: On 26 Oct 2000 15:13:28 -0700, Harry Putnam wrote: Thanks for the detailed reply. Maybe my trouble can be fixed by upgrading. rsync 2.4.1 had known problems with hanging ssh. Are you initiating from the Linux side? I think it only affects

Re: Using Expect and ssh with rsync

2000-12-11 Thread Harry Putnam
"Belknap, Christopher" [EMAIL PROTECTED] writes: I've got SSH 1.2.27 installed, and I want to use it instead of rsh with rsync. In addition, I want to run the rsync out of cron so that it is automated and doesn't prompt for an SSH passphrase. I heard that this automation can be done using

Re: are redhat updates rsyncable

2001-01-25 Thread Harry Putnam
Sorry to reprint this request for information but I guess I want more handholding here. [...] "Michael H. Warfield" [EMAIL PROTECTED] writes: rsync ftp.wtfo.com:: Getting this far ... works as advertised. But beyond that point, how to actually get to the files and collect them?

Re: are redhat updates rsyncable

2001-01-25 Thread Harry Putnam
[EMAIL PROTECTED] writes: Anyone here know if redhat linux updates can be rsynced? If so, is it necessary to have rsh installed. I guess what I really need is to see the commands necessary to connect to a redhat `updates' ftp site with rsync. If it is even possible. I

include/exclude confusing output

2001-02-09 Thread Harry Putnam
Sorry, but I don't use rsync in enough situations to remember how to inovke the confusing rules for include/exclude. The man page makes a valient effort at giving direction but infact it is rather confusing still. And seems fairly complex. Here is the current scene. A server (redhat

Difference in vv output with --delete-exclude

2001-02-10 Thread Harry Putnam
I've found that running a dry run with -navv will give a good readout allowing me to see how my exclude include rules are working. However if I add --exclude-delete to the same command line. The -vv output is silenced. [NOTE: command lines are shown wrapped but in use, were both on a single

Re: include/exclude confusing output

2001-02-10 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes: Sorry, but I don't use rsync in enough situations to remember how to inovke the confusing rules for include/exclude. The man page makes a valient effort at giving direction but infact it is rather confusing still. And seems fairly complex. Here

Re: Difference in vv output with --delete-exclude

2001-02-11 Thread Harry Putnam
Martin Pool [EMAIL PROTECTED] writes: On 10 Feb 2001, Harry Putnam [EMAIL PROTECTED] wrote: What happened to the nifty diagnostic output? Good question. I'll have a look at the source. What version are you running? I thought the include/exclude diagnostics for -vv were not released

Re: The incredible include/exclude dance

2001-04-05 Thread Harry Putnam
Scott Sharpe [EMAIL PROTECTED] writes: [...] ## TO=/home/ftp/pub/debian RSYNC_HOST=debian.uchicago.edu RSYNC_DIR=debian/ EXCLUDE="--exclude *alpha.deb --exclude *m68k.deb --exclude \ [...] rsync -rltvz --delete \ --exclude

is there a `newer' function

2002-04-12 Thread Harry Putnam
Hope I haven't just blindly overlooked this in man rsync: 1) Some way to run rsync with any of the usual command lines but only applicable to files newer than some stipulated date.(on the source) 2) Some tricky way to redirect where the transferred files go. Example: rsync -avv source target

Once again somewhat mystified with exclude rules

2002-04-12 Thread Harry Putnam
I go thru this every few mnths it seems. Rsyncs exclude rules are very sophisticated but because of that somewhat unfathomable at times. Simplified: I want to exclude directories named no_bak anywhere in the tree but only the files under them, not the direcrories themselves. My exclude rules

Re: Once again somewhat mystified with exclude rules

2002-04-12 Thread Harry Putnam
Martin Pool [EMAIL PROTECTED] writes: On 12 Apr 2002, Harry Putnam [EMAIL PROTECTED] wrote: I go thru this every few mnths it seems. Rsyncs exclude rules are very sophisticated but because of that somewhat unfathomable at times. Remember in 2.5.5 you can use -vv to get an explanation

Re: no output from perl script

2002-04-22 Thread Harry Putnam
Robert Silge [EMAIL PROTECTED] writes: You are quite right. I fixed that up, here is the current incarnation of the script, but still no output revealed. Also if anyone who actually knows something about perl could tell me how to have it reprint the first print command if a valid choice is

Advice for dated archives

2002-06-21 Thread Harry Putnam
Summary: Looking for a smooth way to allow rsyncing of mail and news to generate cumulative archives, but cut off a specified date, and begin a new archive that contains nothing of the previouis one. That might have sounded kind of confusing, but here's my setup: I

Re: why are these files being transfered

2003-05-31 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes: But when I run rsync it appear to want to transfer massive numbers of files. rsync -avvzC /root/cvs_buf.t/ /root/base.t 21| tee /root/cvs_buf.test [...] sol/etc/SYS_ENV [...] I tested it on a real cvs checked out module and just as I suspected

Re: why are these files being transfered

2003-06-01 Thread Harry Putnam
Wayne Davison [EMAIL PROTECTED] writes: On Sat, May 31, 2003 at 01:04:40AM -0700, Harry Putnam wrote: I tested it on a real cvs checked out module and just as I suspected after rsyncing from the buffer directory where diff reports no differnces. Then try cvs commit. Cvs demands every file

Re: why are these files being transfered

2003-06-01 Thread Harry Putnam
Wayne Davison [EMAIL PROTECTED] writes: On Sat, May 31, 2003 at 09:24:19AM -0700, Harry Putnam wrote: But it seem cvs then sees them as modified. Them who? You said you're transferring the files from the cvs checkout area to a buffer area. Are you transferring them back again? Them

Re: why are these files being transfered

2003-06-01 Thread Harry Putnam
jw schultz [EMAIL PROTECTED] writes: Hmm, -a == -rlptgoD could it be that the timestamp, owner, group or perms differ? No, thats not it (at least not all of it) I see the same behavior with rsync -rCv. Only thing that comes close is `-rCcv'. Even that transfers a few files that diff sees no

Re: why are these files being transfered

2003-06-01 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes: No, thats not it (at least not all of it) I see the same behavior with rsync -rCv. Only thing that comes close is `-rCcv'. Even that transfers a few files that diff sees no difference in. CORRECTION ALERT That last line

How to pull files that are behind excluded directories

2003-07-05 Thread Harry Putnam
Can this be done: Directory structure under ~/News News/agent/nntp/(various server names)/= thousands of actual news messages/ But also a few files I wnat backed up. Example News/agent/nntp/some.news.server/agent.lib I want agent.lib directory but not all the other stuff under

Re: How to pull files that are behind excluded directories

2003-07-05 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes: Can this be done: Directory structure under ~/News News/agent/nntp/(various server names)/= thousands of actual news messages/ But also a few files I wnat backed up. Sorry, please ignore that post. It was a rough draft that got away while I

include directory and all files under

2004-06-01 Thread Harry Putnam
Sorry, but it seems everytime I setup a different rsync operation (client only) I end up here unraveling the include/exclude stuff I need. The documentation is quite good but I guess the subject is just quite a bit to chew. To cut to the chase: I want to sync up my own snapshot repository of

Re: why each time I do a file sync, it showed me that a file trasnfers is occured

2005-10-30 Thread Harry Putnam
Paul Slootman [EMAIL PROTECTED] writes: --itemize-changes What is this? My rsync doesn't know about it. rsync version 2.6.0 protocol version 27 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

What would cause an unexpected massive transfer

2005-10-30 Thread Harry Putnam
I've rsynced two directory structures back and forth a few times. Its a desktop to external (portable) drive. And then back once mobile work has changed files and field work is done. On this last go around I expected a few files to be transferred maybe 15-20 but instead I'm seeing several

Re: What would cause an unexpected massive transfer

2005-10-31 Thread Harry Putnam
Craig Barratt [EMAIL PROTECTED] writes: Harry Putnam writes: I've rsynced two directory structures back and forth a few times. [snip] The file systems in volved are (xp)NTFS on one end and Fat32 on the external drive. This is the DST problem with how Fat32 represents mtime. Fat32 uses

exclude all but specifice files in dir

2006-02-14 Thread Harry Putnam
How can I accomplish this: Include ~/.kde*/some/deeper/path/bookmark.xml But excldue all the other files under ~/.kde* That is, I want only one file from this directory of dozens of files. One of the examples given in man rsync appears to be about this kind of problem:

Re: exclude all but specifice files in dir

2006-02-15 Thread Harry Putnam
Wayne Davison [EMAIL PROTECTED] writes: On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote: - /.kde* That doesn't exclude anything, since you already included things that match that. You should be using - * to exclude everything else other than what was explicitly included

Re: exclude all but specifice files in dir

2006-02-22 Thread Harry Putnam
Matt McCutchen [EMAIL PROTECTED] writes: On Wed, 2006-02-15 at 18:33 -0600, Harry Putnam wrote: Wayne Davison [EMAIL PROTECTED] writes: On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote: - /.kde* That doesn't exclude anything, since you already included things that match

Include Exclude .. a canonical way

2006-02-22 Thread Harry Putnam
I'm wrestling with include/exclude rules and not finding a way to do this: Simplified command: rsync -avv --exclcude-from=rsync_exclude \ ~/ /dest/ Backup ~/ including ~/.kde3.5/share/apps/konqueror/bookmarks.xml but excluding everything else under ~/.kde3.5 Here are some of

Re: Include Exclude .. a canonical way

2006-02-22 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes: Here are some of what hasn't worked in an EXCLUDE file. + /.kde3.5/share/apps/konqueror/bookmarks.xml /.kde3.5/ + .kde3.5/share/apps/konqueror/bookmarks.xml /.kde3.5** + .kde3.5/share/apps/konqueror/bookmarks.xml .kde3.5/ There are a number

Re: Include Exclude .. a canonical way

2006-02-22 Thread Harry Putnam
Wayne Davison [EMAIL PROTECTED] writes: On Wed, Feb 22, 2006 at 05:14:29AM -0600, Harry Putnam wrote: Still it seems there would be a more succinct way... There is if you use rsync 2.6.7 (currently in release testing): rsync -avO --prune-empty-dirs --include=bookmarks.xml

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

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

Which files could not be transferred

2006-03-03 Thread Harry Putnam
When getting this error: rsync error: some files could not be transferred (code 23) at main.c(882) [sender] How can I determine which files these were? -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

--compare-dest; I'm missing the boat

2009-01-15 Thread Harry Putnam
I must be seriously misunderstanding the man page coverage of --compre-dest. My take was that if a file in compare-dest=dir matches a file in SOURCE/ then it won't be transferred to DEST/. I tried this test. (d1 has single files and 2 subdir with files) cp -a d1 d1a mkdir d2 rsync -avv

Re: --compare-dest; I'm missing the boat

2009-01-15 Thread Harry Putnam
Matt McCutchen m...@mattmccutchen.net writes: [...] d1a is carbon copy of d1 but still every last file in d1 is copied to d2. Two paragraphs later in the man page: If DIR is a relative path, it is relative to the destination directory. So you should use: rsync -avv

Re: --compare-dest; I'm missing the boat

2009-01-17 Thread Harry Putnam
Matt McCutchen m...@mattmccutchen.net writes: I think Harry's complaint is about the existence of the directories, not the nonexistence of the files. Not much of a complaint really. I was just a bit puzzled at first. I believe it's by design that rsync creates a directory (call it D) in

Re: --compare-dest; I'm missing the boat

2009-01-17 Thread Harry Putnam
Matt McCutchen m...@mattmccutchen.net writes: And then try to sort through the output .. maybe run it in reverse and sort through that output before making a final determination. You know, there are two-way synchronization tools such as unison ( http://www.cis.upenn.edu/~bcpierce/unison/ )

Re: --compare-dest; I'm missing the boat

2009-01-18 Thread Harry Putnam
Matt McCutchen m...@mattmccutchen.net writes: First a comment: You have far more expertise than I in all the many things that come into play in this kind of endeavor. So any opinions I have or have posted should be taken with a large grain of salt. On Sat, 2009-01-17 at 14:57 -0600, Harry

-C flag with --delete-excluded

2009-06-20 Thread Harry Putnam
Can someone tell me if the -C (cvs related) flag would get ignored in this command: /usr/bin/rsync -aCvv --stats --exclude-from=/usr/local/common/baseX/zfs/bin/zfs-exclude.txt --delete-excluded /cvsbX/zfs/ /usr/local/common/baseX/zfs/ There is no cvs related stuff in zfs-exclude.txt

When errors at end, how to find error

2009-07-07 Thread Harry Putnam
After a large transfer, when I see an error at the end like: sent 2077917 bytes received 9290799087 bytes 2232523.00 bytes/sec total size is 11868499780 speedup is 1.28 rsync error: some files could not be transferred (code 23) at main.c(1385) [generator=2.6.9] rsync

rsync Windows to opensolaris or linux

2009-07-08 Thread Harry Putnam
I know this subject has been covered a fair bit here but I'm getting confused with the vast array of possible options I've seen in various cmdlines posted here, and the vast (and sometimes confusing) rsync manual. Can someone show me the simplest case to allow rsync to push data from a windows XP

rsync between windows Opensolaris failures

2009-07-08 Thread Harry Putnam
Can anyone tell me what is wrong in this picture with error output: rsync -nvviirp --inplace ha...@harvey:/cygdrive/c/Documents\ And\ Settings ./docs_settings_$(dtf) opening connection using ssh harvey -l harry rsync --server --sender -vvnpr --inplace . /cygdrive/c/Documents And Settings

Re: rsync between windows Opensolaris failures

2009-07-08 Thread Harry Putnam
Jan-Benedict Glaw jbg...@lug-owl.de writes: Please try: ssh rea...@harvey true | xxd There should be no output at all. If there is, your shell is not clean, as rsync said. (That is, there might be something like a greeting message in non-interactive mode.) Thanks... turned out to be an

Differenc in exclude v 2.6.9 and v 3.0.4

2009-07-08 Thread Harry Putnam
I'm finding a fairly major difference in the behavior of include/exclude between 2 version of rsync: opensolaris running rsync version 2.6.9 Cygwin running rsync version 3.0.4 Run from Opensolaris using version 2.6.9 and pulling from a windows XP box with this cmdline: (Note: cmds are

Re: rsync between windows Opensolaris failures

2009-07-09 Thread Harry Putnam
Paul Slootman paul+rs...@wurtel.net writes: On Wed 08 Jul 2009, Harry Putnam wrote: But there is also a `last login' message that apparently doesn't cause any problems... since rsync works now. I see the `last login' message if I do a straight ssh ha...@harvey Do you see it with Jan

backtracking error message in output

2009-09-30 Thread Harry Putnam
After a long stream of output that ends with (wrapped for mail): rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] How can I locate the above mentioned error in the output from: /usr/bin/rsync -aCvv --stats

Beating a dead horse

2014-03-18 Thread Harry Putnam
Sorry to do this AGAIN Every year or two I get stuck on this same problem involving excluding. Seems I learn how its done then 2yrs later I've totally forgotten and when I look up my notes ... this new need is just different enough that they don't apply. Here's the problem. (Simplified...

how to catch this file name #something#

2014-12-31 Thread Harry Putnam
Trying to cat filenames like #something#. neither of the things I thought up work. *#* #* At least the second one above does work in a ls command like: ls #* #something# I understood an exclude file would use shell globbing and such. So what am I doing wrong? -- Please use reply-all for

binaries built from git vs from nightly tarball

2015-01-08 Thread Harry Putnam
My setup: Running Openindiana build 151_a9 (a branch of solaris) Just curious about 2 things from recently building rsync from sources. Git repo build of rsync -rwxr-xr-x 1 harry nfsu 848164 2014-12-26 09:17 [..]/rsync git-repo build shows this: [path]/rsync --version..rsync version

Re: How to discern when like dir names exist in 2 places

2015-04-13 Thread Harry Putnam
francis.montag...@inria.fr writes: Hi, On Mon, 13 Apr 2015 12:59:07 -0400 Kevin Korb wrote: Hmmm, according to my interpretation of the man page (I am on 3.1.1) that is supposed to work however when I test using the -/ /etc/passwd example the / seems to have the same effect as commenting

Is it possible to to exclude #file

2015-04-12 Thread Harry Putnam
Can anyone tell me how to exclude a file that begins or ends with an octothorp (`#')? Something like #file or file# But not fi#le I've tried these in an exclude file: #* *# \#* *\# All seem to just be ignored -- Please use reply-all for most replies to avoid omitting the mailing list. To

Re: How to discern when like dir names exist in 2 places

2015-04-13 Thread Harry Putnam
Kevin Korb k...@sanitarium.net writes: -/ /var/apache2/* Thanks for the input, but unless I'm doing something else screwy, that does not appear to work here. I put your line verbatim into my exlcude file (near the top) /pkg/* /sadm/* /cache/* /opt/csw/cache/* -/ /var/apache2/*

How to discern when like dir names exist in 2 places

2015-04-13 Thread Harry Putnam
with these rsync rsync [...] /var/ /dir/ rsync [...] /etc/ /dir2/ And exclude file: excl /apache2/* That will exclude both /var/apache2/* and/etc/apache2/* How can I tell rsync I want /var/apache2 excluded, but not /etc/apache2? I