08-15-2013
What o/s are you on and what version of rsync. What are the contents of what you're trying to rsync? Post the command you're using. Have you tried rsync -vvvv or rsync -vvv?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a freebsd box with a smb connection to a Windows server - I use rsync to copy specific directories, and files, between the two.
The problem is the Windows box has files with space characters in their filenames and rsync fails to copy these. Reading the documentation of rsync it appears it... (3 Replies)
Discussion started by: chief2
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
while runninc rsycnc I am getting following error
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
any idea? (1 Reply)
Discussion started by: redlotus72
1 Replies
3. UNIX for Advanced & Expert Users
I know double posting is not allowed... but I need urgent help on this question... so... please bear with me!
I am having a problem with rsyncing 2 directories in my network. Here is the situation:
1. I have a directory tree on the 1 server say: SOURCE 2. I have to rsync this directory tree... (3 Replies)
Discussion started by: skotapal
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I wanna synchronize all the /etc settings from my previous server to new one. (Both of them are Debian Etch 4.0) I used this command:
rsync -r -vz -e ssh someuser@myOldServer:/etc /etc
&
rsync -avz -e ssh someuser@myOldServer:/etc /etc
These commands told me that everything occur perfectly... (6 Replies)
Discussion started by: mjdousti
6 Replies
5. Shell Programming and Scripting
Hi everybody,
I'm a newbie and hope that someone help me in this problem.
I have a filename in LINUX with single quote like this:
abs@hosttest:~/ABS/BETY/cygdrive/C/DECLARANOT 1.1.4/02 - ROCK/052 - GUNSROSES> dir You*
-rw-r--r-- 1 abs users 2365881 2008-08-25 09:16 You're Crazy.mp3
... (9 Replies)
Discussion started by: mr_boysito
9 Replies
6. Shell Programming and Scripting
Hi,
I am copying files from one server to the other by rsync utilty.
I am giving a list file to the rsync and i am writing it to the log also.
The problem is that,rsync is not copying the order in which i have given files and links to the list. I can see it, through the log file.
I am giving... (7 Replies)
Discussion started by: vvenu88
7 Replies
7. Solaris
hi all,
I have download latest version for rsync from rsync download web site.
I trying install rsync tool to sun solaris 10 (SPARC M4000 server) and but get some error. Please see below:
-bash-3.00$ ./configure
configure.sh: Configuring rsync 3.0.6
checking build system type...... (3 Replies)
Discussion started by: Tlg13team
3 Replies
8. Solaris
Hi all,
recently I took over the admin-task for a solaris 10 x86 machine.
I would like to use rsync for backing up files via ssh to another machine. There are two machines I have tested with both without success. One is a ubuntu server 8.04, the other one is ubuntu 10.04 desktop.
Installed... (2 Replies)
Discussion started by: sly_dunbar
2 Replies
9. UNIX for Advanced & Expert Users
Hi
i am running a rsync between two remote servers but it errors.
The rsync command is a follows
rsync -aWv -e rsh --stats progress --delete --ignore-errors --exclude .DS_Store --exclude .HSancillary --exclude .HSxmap --exclude .HSResource /raid1/PRODUCTION/ ... (0 Replies)
Discussion started by: treds
0 Replies
10. Shell Programming and Scripting
Hello,
I have a report which I am writing as a .tex file, and I am editing from two computers (office and home laptop). I use rsync over ssh connection to synchronise between them and all the rssync commands are written in a Shell script.
#synchronise from office computer to home laptop... (2 Replies)
Discussion started by: ajayram
2 Replies
LEARN ABOUT DEBIAN
ropkg::rsync::atom
RoPkg::Rsync::Atom(3pm) User Contributed Perl Documentation RoPkg::Rsync::Atom(3pm)
NAME
RoPkg::Rsync::Atom - the smallest unit in a rsync configuration file
SYPONSIS
#!/usr/bin/perl
use strict;
use warnings;
use RoPkg::Rsync::Atom;
sub main {
my $a = new RoPkg::Rsync::Atom(
type => 'param',
name => 'uid',
value => 'nobody',
);
print $a->ToString(0),$/;
return 0;
}
main();
DESCRIPTION
RoPkg::Rsync::Atom is a class used by RoPkg::Rsync modules. The Atom is considered the smallest part of any rsync configuration file. An
atom can be (at this moment):
param
blank
comment
METHODS
All methods, throw the OutsideClass exception, if you use them as class methods.
Example:
perl -MRoPkg::Rsync::Atom -e 'RoPkg::Rsync::Atom->Type;'
Called outside class instance
Besides OutsideClass the methods are throwing other exceptions as well. Refer to each method documentation for more information.
new()
The constructor of the class. new accepts 3 parameters grouped inside a hash:
*) type - type of the atom
*) name - name of the atom
*) value - value of the atom
The type parameter must always be present. If the type parameter is not present, a Param::Missing exception is raised. At this moment, the
atoms have 3 types:
*) param - a parameter in the standard form (name = value)
*) comment - a comment
*) blank - a blank line (or only with separators)
If the value of the type parameter is not one of the ones specified a Param::Wrong exception is raised.
Examples:
example 1 (param):
my $a = new RoPkg::Rsync::Atom(
type => 'param',
name => 'gid',
value => 'users',
);
example 2 (param):
my $a = new RoPkg::Rsync::Atom(type => 'param');
$a->Name('gid');
$a->Value('users');
print 'Name of the atom is:',$a->Name,$/;
example 3 (comment):
my $a = new RoPkg::Rsync::Atom(
type => 'comment',
value => '# this is the group id',
);
example 4 (blank):
my $a = new RoPkg::Rsync::Atom(
type => 'blank',
value => q{ },
);
Name($new_name)
The Name method is a get/set method. If $new_name exists (and his value is defined) then the set behaviour is selected, otherwise the
method acts as a get method. Returns the name of the atom.
Value($new_value)
The Value method is a get/set method. If $new_value exists (and his value is defined) then the set behaviour is selected, otherwise the
method acts as a get method. Returns the value of the atom.
ToString($indent, $spaces)
Returns the string representation of the atom. Accepts 2 parameters: indent and spaces. $indent is a true/false value specifing that the
string representation should be prefixed with a tab character; $spaces is used to compute the number of spaces that should be added after
the atom name, so that the total length of the parameter name to match the $spaces value.
Example:
my $a = new RoPkg::Rsync::Atom(
type => 'param',
name => 'gid',
value => 'users',
);
print $a->ToString(0, 6),$/,
$a->ToString(0, 5),$/,
$a->ToString(0, 4),$/,
$a->ToString(0, 3),$/,
$a->ToString(1, 6),$/,
$a->ToString(1, 5),$/,
$a->ToString(1, 4),$/,
$a->ToString(1, 3),$/;
The result is:
gid = users
gid = users
gid = users
gid = users
gid = users
gid = users
gid = users
gid = users
Type
Returns the type (string representation) of the atom.
PREREQUISITES
perl 5.008 (or later) is required. Besides perl, you must have the following:
RoPkg::Exceptions
English
Scalar::Util
SEE ALSO
RoPkg::Rsync::Node RoPkg::Rsync::ConfFile RoPkg::Exceptions
AUTHOR
Subredu Manuel <diablo@iasi.roedu.net>
LICENSE
Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself. The LICENSE file contains the full text of the license.
perl v5.8.8 2006-06-09 RoPkg::Rsync::Atom(3pm)