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 co
Kevin Korb 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/*
/tmp/*
--- -
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 mean
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.
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 3.1.2de
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 fo
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...
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
--exclude-from=/u
Paul Slootman 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...@ha
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 wrappe
Jan-Benedict Glaw 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 echo of $HOME
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"
ha..
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
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 /www
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
Matt McCutchen 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 Putnam wrote:
>
Matt McCutchen 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/ ) that are designe
Matt McCutchen 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
> the destination even
Matt McCutchen 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 --compare-dest="../d1a" d
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
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: http://www.catb.org/~esr/faqs/smar
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
>
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
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-d
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/
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
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*
>> >
>> &g
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 everythin
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:
One
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.
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 thousa
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: http://www.catb.org/~esr/faqs/smart-q
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 ope
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 r
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
some.ne
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 AL
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
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
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 tr
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 2>&1| tee /root/cvs_buf.test
> [...]
> sol/etc/SYS_ENV
> [...]
I tested it on a real cv
Setup: Redhat linux 7.3
rrsync: version 2.5.6 protocol version 27
I'm trying to employ rsync in conjuction with with a cvs setup.
The setup employs a bufffer where changes are made then moved to a
checked out module from cvs repository and finally any cvs actions
necessary are done.
So far j
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
rout
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 choi
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.
>
> Reme
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 lo
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 r
What is the necessary syntax to exclude a file named #notes# from an
action?
I've tried these without success:
#*
"#*"
#notes#
"#notes#"
\#notes\#
Martin Pool <[EMAIL PROTECTED]> writes:
> On 9 Jan 2002, Harry Putnam <[EMAIL PROTECTED]> wrote:
>>
>> man rysnc says point blank that without the -l flag symbolic links
>> will be ignored.
>
> It also says that -a implies -l.
Erk.. and so it does. The
man rysnc says point blank that without the -l flag symbolic links
will be ignored.
-l, --links
This tells rsync to recreate symbolic links on the
remote system to be the same as the local system.
Without this option, all symbolic links
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 \
> --ex
Once again I find myself in the throws of a major pain in the butt
figuring out how to exclude the files under directories or at least
the directories and the files.
Apparently I don't use rsync in enough different circumstance for this
to become routine.
Every single time I want to use rsync f
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 includ
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.
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 li
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 updates
Cameron Simpson <[EMAIL PROTECTED]> writes:
> | Thanks for the tips.. I've downloaded and built the binary as
> | suggested, and see the new improved behavior. However it still
> | doesn't seem possible to be selective about what gets downloaded.
> |
> | Apparently the site you chose above i
[ Note: This message also Cc'ed to the address given in the error
output below ]
Alberto Accomazzi <[EMAIL PROTECTED]> writes:
> If you use the latest sources from the CVS tree, an rsync on an
> "rsync URL" lists its contents if the URL ends with a trailing slash:
>
> adsone-465: ./rsync-curr
[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 pos
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 t
so, how to
> Harry> connect.
>
> sunsite.dk runs a rsync server, which provides access to more than
> 300GB software - which includes redhat-updates.
Thanks.
Daniel Veillard <[EMAIL PROTECTED]> writes:
> On Wed, Jan 24, 2001 at 12:27:04AM -0800, Harry Putnam wrote:
>
berry <[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 possi
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.
"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 usi
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
>
Dave Dykstra <[EMAIL PROTECTED]> writes:
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 the initiating side. Please
> upgrade to 2.4.6. I believe
[ NOTE: Never saw this post appear on the group so resending -ed]
Another set of Stats on an interminable hang:
Transmission is via ssh on a local network. (ethernet)
rsync command line:
rsync -avvz -e ssh News satellite:~/
The above command ran about half way thru then hung.
> As I have men
66 matches
Mail list logo