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

This commit is contained in:
Arun Prakash Jana 2018-11-28 04:16:14 +05:30
parent c0b9703831
commit b7eb509ffb
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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 */