Skip to main content

How to move (copy) Files and Folder to Another Location using Rsync

Submitted by nidheesh on Fri, 11/25/2022 - 22:20

Install Rsync CLI Tools

[root@testsvr01 ~]# yum install rsync -y

Move Files and Folder to Another Location using Rsync

[root@testsvr01 ~]# rsync -avzi  --delete --progress /opt/soruce_dir/ /opt/destination_dir/

Copy Files and Folder to Another Location using Rsync

[root@testsvr01 ~]# rsync -avzu --progress /opt/soruce_dir/ /opt/destination_dir/