From: NRK Date: Tue, 1 Feb 2022 10:29:40 +0000 (+0600) Subject: rsynccp: avoid using non-portable flags X-Git-Tag: v4.5~30^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ffd0468f67ec8d62f1672552498f7379932b80db;p=nnn.git rsynccp: avoid using non-portable flags Closes: https://github.com/jarun/nnn/issues/1299 --- 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