From 358ac6a141010b19175d0eb5a6f28ff544aa75d3 Mon Sep 17 00:00:00 2001 From: Xuehai Pan Date: Fri, 10 Sep 2021 04:18:09 +0800 Subject: fix(cp): add unique suffix to rsync backup directory for each user (#10170) * fix(cp): add unique suffix to rsync backup directory for each user * fix(cp): use `USERNAME` rather than `USER` --- plugins/cp/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/cp/README.md') diff --git a/plugins/cp/README.md b/plugins/cp/README.md index e8a9b6ccc..23734243c 100644 --- a/plugins/cp/README.md +++ b/plugins/cp/README.md @@ -25,7 +25,7 @@ The enabled options for rsync are: * `-hhh`: outputs numbers in human-readable format, in units of 1024 (K, M, G, T). -* `--backup-dir=/tmp/rsync`: move backup copies to "/tmp/rsync". +* `--backup-dir="/tmp/rsync-$USERNAME"`: move backup copies to "/tmp/rsync-$USERNAME". * `-e /dev/null`: only work on local files (disable remote shells). -- cgit v1.2.3-70-g09d2