Yes, if you run
rsync -az A/ B
Be careful to specify the thing you intend.
Justin
On Wed, Jul 11, 2012 at 04:52:43PM -0500, Peng Yu wrote:
> 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!
--
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