mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
rsynccp: avoid using non-portable flags
Closes: https://github.com/jarun/nnn/issues/1299
This commit is contained in:
parent
2eadf35fa0
commit
ffd0468f67
|
@ -15,10 +15,10 @@ sel=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
|
||||||
# Choose one of these two schemes by commenting
|
# Choose one of these two schemes by commenting
|
||||||
|
|
||||||
# more verbose
|
# more verbose
|
||||||
xargs -0 -a "$sel" -I % rsync -ah --progress % "$PWD"
|
xargs -0 -I % rsync -ah --progress % "$PWD" < "$sel"
|
||||||
|
|
||||||
# less verbose
|
# less verbose
|
||||||
# xargs -0 -a "$sel" -I % rsync -ah --info=progress2 % "$PWD"
|
# xargs -0 -I % rsync -ah --info=progress2 % "$PWD" < "$sel"
|
||||||
|
|
||||||
# Clear selection
|
# Clear selection
|
||||||
if [ -p "$NNN_PIPE" ]; then
|
if [ -p "$NNN_PIPE" ]; then
|
||||||
|
|
Loading…
Reference in a new issue