프로그래밍/Linux

[Linux] using rsync command

bluecandyg 2022. 11. 1. 14:20
  • 파일 동기화 할 경우 아래 Command 사용

# default
$ rsync -av source/ destination

# file compress
$ rsync -az source/ destination

# show progress
$ rsync -aP source/ destination

 

  • Send Remote Server
# Default
$ rsync -avP source/ xxxx@xxx.xxx.xxx.xxx:~/destination