From e766512c2c7e2c7c82da738863309d1f19d9649d Mon Sep 17 00:00:00 2001 From: Branislav Jansik <branislav.jansik@vsb.cz> Date: Mon, 31 Jul 2023 15:08:00 +0200 Subject: [PATCH] Update shell-and-data-access.md --- docs.it4i/general/shell-and-data-access.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs.it4i/general/shell-and-data-access.md b/docs.it4i/general/shell-and-data-access.md index e4495a76a..cbacf738f 100644 --- a/docs.it4i/general/shell-and-data-access.md +++ b/docs.it4i/general/shell-and-data-access.md @@ -175,7 +175,8 @@ Enter passphrase for /home/user/.ssh/id_rsa: Then run the rsync in parallel: ```console -local $ ls my-local-dir | xargs -I% -n 2 -P 4 rsync % username@cluster-name.it4i.cz:directory/. +local $ cd my-local-dir +local $ ls | xargs -I% -n 2 -P 4 rsync % username@cluster-name.it4i.cz:my-remote-dir/. ``` The -n XXX argument determines how many files will be transfered per single rsync process. The -P YYY argument -- GitLab