commit b7eb509ffb471c11e27e227a5836bcd379a7cab3
parent c0b9703831a39593e99a7849f8caf6df40c2c208
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Wed, 28 Nov 2018 04:16:14 +0530
cp: change -r to -R, --preserve=all to -p
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -3083,7 +3083,7 @@ nochange:
}
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)
snprintf(g_buf, MAX_CMD_LEN, "xargs -0 -a %s mv -i -t .", g_cppath);
else /* SEL_RMMUL */