Hi Peng -
I usually use rsync-az A/ B/
Note the slashes.
Bill Dorrian
Network Administrator
Desk: 904-273-7625
Cell: 904-859-9471
From: Peng Yu <pengyu.ut at gmail.com>
To: rsync at lists.samba.org,
Date: 07/11/2012 05:52 PM
Subject: How to specify the dest directory?
Sent by: rsync-bounces at lists.samba.org
Hi,
When I use the following command, A (a directory) will be created in
B. But I actually want to cp the content of A to B.
rsync -az A B
Is there a way to cp the content of A to B? Thanks!
--
Regards,
Peng
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
" Follow the 2012 FedExCup season at PGATOUR.COM."
"The information contained in this transmission and any attachments may
contain privileged and confidential information. It is intended only for the use
of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution, or duplication of
this communication is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies of
the original message."
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20120711/94a2a0b4/attachment.html>