Copy directory from source to destination – Ubuntu Terminal


Use rsync command for this so that if there is an error (or you need to stop copying) partway through you can easily resume later, without having to recopy everything.

$rsync -av source/directory/path /destination/directory/path

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s