How to specify the dest directory?

Justin T Pryzby justinp at norchemlab.com
Wed Jul 11 15:54:45 MDT 2012


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!


More information about the rsync mailing list