From e36afbf4e0b588b5f392e731d7d15c7e8d04e4f5 Mon Sep 17 00:00:00 2001 From: ant Date: Fri, 27 Sep 2024 11:18:02 +0200 Subject: [PATCH] add -h to rsync in lf --- lf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lf.nix b/lf.nix index 1be7ddd..71268f0 100644 --- a/lf.nix +++ b/lf.nix @@ -67,7 +67,7 @@ shift case "$mode" in copy) - rsync -a --ignore-existing --info=progress2 --no-inc-recursive -- "$@" . | + rsync -ah --ignore-existing --info=progress2 --no-inc-recursive -- "$@" . | stdbuf -i0 -o0 -e0 tr '\r' '\n' | while IFS= read -r line; do lf -remote "send $id echo $line"