Browse Source

cp: change -r to -R, --preserve=all to -p

master
Arun Prakash Jana 6 years ago
parent
commit
b7eb509ffb
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -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…
Cancel
Save