forked from mirror/nnn
rsynccp: avoid using non-portable flags
Closes: https://github.com/jarun/nnn/issues/1299
This commit is contained in:
parent
2eadf35fa0
commit
ffd0468f67
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue