mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
cp: change -r to -R, --preserve=all to -p
This commit is contained in:
parent
c0b9703831
commit
b7eb509ffb
|
@ -3083,7 +3083,7 @@ nochange:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sel == SEL_CP)
|
if (sel == SEL_CP)
|
||||||
snprintf(g_buf, MAX_CMD_LEN, "xargs -0 -a %s cp -ir --preserve=all -t .", g_cppath);
|
snprintf(g_buf, MAX_CMD_LEN, "xargs -0 -a %s cp -iRp -t .", g_cppath);
|
||||||
else if (sel == SEL_MV)
|
else if (sel == SEL_MV)
|
||||||
snprintf(g_buf, MAX_CMD_LEN, "xargs -0 -a %s mv -i -t .", g_cppath);
|
snprintf(g_buf, MAX_CMD_LEN, "xargs -0 -a %s mv -i -t .", g_cppath);
|
||||||
else /* SEL_RMMUL */
|
else /* SEL_RMMUL */
|
||||||
|
|
Loading…
Reference in a new issue