mirror of
https://github.com/jarun/nnn.git
synced 2024-09-11 04:55:25 +03: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
|
||||
|
||||
# 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 New Issue
Block a user