commit ffd0468f67ec8d62f1672552498f7379932b80db parent 2eadf35fa0278cf007323e02dab70f1fd8552df9 Author: NRK <nrk@disroot.org> Date: Tue, 1 Feb 2022 16:29:40 +0600 rsynccp: avoid using non-portable flags Closes: https://github.com/jarun/nnn/issues/1299 Diffstat:
| M | plugins/rsynccp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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