From ffd0468f67ec8d62f1672552498f7379932b80db Mon Sep 17 00:00:00 2001 From: NRK Date: Tue, 1 Feb 2022 16:29:40 +0600 Subject: [PATCH] rsynccp: avoid using non-portable flags Closes: https://github.com/jarun/nnn/issues/1299 --- plugins/rsynccp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rsynccp b/plugins/rsynccp index 5cfa66fe..902f9e78 100755 --- a/plugins/rsynccp +++ b/plugins/rsynccp @@ -15,10 +15,10 @@ sel=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} # Choose one of these two schemes by commenting # more verbose -xargs -0 -a "$sel" -I % rsync -ah --progress % "$PWD" +xargs -0 -I % rsync -ah --progress % "$PWD" < "$sel" # less verbose -# xargs -0 -a "$sel" -I % rsync -ah --info=progress2 % "$PWD" +# xargs -0 -I % rsync -ah --info=progress2 % "$PWD" < "$sel" # Clear selection if [ -p "$NNN_PIPE" ]; then