From 67cee9064e582ab3f5e7fb961dbda1fcff8da245 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 16 Jan 2021 20:43:13 +0800 Subject: [PATCH] [bugfix] rm compliant about argument too long --- devel/nodejs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/nodejs.sh b/devel/nodejs.sh index 8d77e00..e3840fa 100755 --- a/devel/nodejs.sh +++ b/devel/nodejs.sh @@ -24,7 +24,7 @@ lspkgs() { uninstall() { if [ -f "$FILES_PATH" ]; then - tac "$FILES_PATH" | grep -v '/$' | xargs sudo rm -f + tac "$FILES_PATH" | grep -v '/$' | xargs -n 10 -- sudo rm -f fi }