add -h to rsync in lf

This commit is contained in:
ant 2024-09-27 11:18:02 +02:00
parent dcd52a551d
commit e36afbf4e0

2
lf.nix
View file

@ -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"