From c0de49a43e480e618986caccd656af84218f49a2 Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Mon, 6 Jan 2020 00:12:50 +1100 Subject: [PATCH] rsync between directories --- categories/devops/linux.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/categories/devops/linux.md b/categories/devops/linux.md index ce2d398..72e416d 100644 --- a/categories/devops/linux.md +++ b/categories/devops/linux.md @@ -218,6 +218,11 @@ You can specify more options Sync folders and files between folders and hosts +### sync between directories + +```bash +rsync -avzh /root/rpmpkgs /tmp/backups/ +``` #### sync folders between hosts ```bash