aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-16 00:54:31 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-16 00:54:31 +0530
commitfee2c339cc635b826cc83e79a4ecd7aec24e4244 (patch)
tree88cdb59e14d057f669b4fd9de48bfb76907e22b8 /src/nnn.c
parent25add335390c49d0ca1650f40c30e384f675eb4d (diff)
downloadnnn-fee2c339cc635b826cc83e79a4ecd7aec24e4244.tar.gz
Fix #307
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6ae1b82..f37551f 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1171,7 +1171,7 @@ static bool batch_rename(const char *path)
int fd1, fd2, i;
uint count = 0, lines = 0;
bool dir = FALSE, ret = FALSE;
- const char renamecmd[] = "paste -d'\n' %s %s | xargs -d'\n' -n2 mv 2>/dev/null";
+ const char renamecmd[] = "paste -d'\n' %s %s | xargs -n2 -n2 mv 2>/dev/null";
char foriginal[TMP_LEN_MAX] = {0};
char buf[sizeof(renamecmd) + (PATH_MAX << 1)];