pulling data from the server
tim.conway at philips.com
tim.conway at philips.com
Thu Sep 26 19:14:01 EST 2002
The module is considered a directory (since that's what it is), and unless
you're going recursive, directories are ignored.
try this one:
rsync --port 9876 -v u018::treeA/* /tmp
or, if you want everything in the module treeA
rsync --port 9876 -av u018::treeA /tmp
I prefer implying -r with -a, as that also preserves permissions, times,
and ownerships, if they can translate (and you're root).
I don't mean the inclusion below as an RTFM, just to point out what, among
the 1848 lines in the man page, you're looking for:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-r, --recursive
This tells rsync to copy directories recursively. If
you don't specify this then rsync won't copy direc-
tories at all.
SunOS 5.7 Last change: 25 Jan 2002 8
User Commands rsync(1)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Oh, and I'm ccing the list so people know the progress on your question.
Tim Conway
tim.conway at philips.com
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"
David Bigagli -Bokis- <david.bigagli at caspur.it>
09/26/2002 10:10 AM
To: Tim Conway/LMT/SC/PHILIPS at AMEC
cc:
Subject: Re: pulling data from the server
Classification:
Thank you but what is the correct command line?
I tried:
rsync --port 9876 -v u018::treeA /tmp
but it still does not work.
71:david at u050 /export/david> rsync --port 9876 -v u018::treeA /tmp/a
client: nothing to do: perhaps you need to specify some filenames or the
--recursive option?
Cheers,
David
On Thu, 26 Sep 2002 tim.conway at philips.com wrote:
> David: Your commandline is in the "listing" form. If you add a
> destination to the line, files will actually be copied.
> ++++++++++++++++++++++++++++++++++++++++++
> o for listing files on a remote machine. This is done the
> same way as rsync transfers except that you leave off
> the local destination.
>
> Note that in all cases (other than listing) at least one of
> the source and destination paths must be local.
>
> SETUP
> See the file README for installation instructions.
>
>
> SunOS 5.7 Last change: 1 Mar 1999 2
>
> User Commands rsync(1)
> ++++++++++++++++++++++++++++++++++++++++++
>
> Tim Conway
> tim.conway at philips.com
> 303.682.4917 office, 303.921.0301 cell
> Philips Semiconductor - Longmont TC
> 1880 Industrial Circle, Suite D
> Longmont, CO 80501
> Available via SameTime Connect within Philips, caesupport2 on AIM
> "There are some who call me.... Tim?"
>
>
>
>
> David Bigagli -Bokis- <david.bigagli at caspur.it>
> Sent by: rsync-admin at lists.samba.org
> 09/25/2002 02:37 PM
>
>
> To: rsync at lists.samba.org
> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
> Subject: pulling data from the server
> Classification:
>
>
>
>
> Hi all,
> I have started the rsync in deamon mode. When I use the following
> command:
>
> rsync --port 9876 u018::treeA
>
> it seems to work fine but no files are copied from the server.
>
> Using rsync without the deamon works fine.
>
> I tried to debug it a little bit, but I am unable to figure out what's
> wrong.
>
> 337:david at u050 /export/treeA> rsync -r -vvv --port 9876 u018::treeA
> opening tcp connection to u018 port 9876
> Ahoj!
>
> receiving file list ...
> recv_file_name(.)
> recv_file_name(a)
> received 2 names
> done
> drwxr-xr-x 512 2002/09/25 15:20:18 .
> -rw-r--r-- 9 2002/09/25 15:20:18 a
> recv_file_list done
> get_local_name count=2 <NULL>
> recv_files(2) starting
> generator starting pid=197 count=2
> generate_files phase=1
> recv_files phase=1
> generate_files phase=2
> recv_files finished
> wrote 63 bytes read 74 bytes 274.00 bytes/sec
> total size is 9 speedup is 0.70
> _exit_cleanup(code=0, file=main.c, line=925): about to call exit(0)
>
> What am I doing wrong?
>
> Thank you very much.
>
> David
>
>
>
> --
> 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
>
More information about the rsync
mailing list