From fee2c339cc635b826cc83e79a4ecd7aec24e4244 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 16 Jul 2019 00:54:31 +0530 Subject: Fix #307 --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nnn.c') 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)]; -- cgit v1.2.3-70-g09d2