From 56d23baef9f1d141da997befddb4a45c3a08a2c5 Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Fri, 31 May 2019 19:23:32 -0700 Subject: make trim behave a bit nicer --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3c95593..9d52f79 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,8 @@ sync: newest .PHONY: trim trim: - ls enwiki-*-snap.index | sort | head -n -2 | xargs rm - ls enwiktionary-*-snap.index | sort | head -n -2 | xargs rm + ls enwiki-*-snap.index | sort | head -n -2 | xargs -rt rm + ls enwiktionary-*-snap.index | sort | head -n -2 | xargs -rt rm %/.git: git submodule update --init $* -- cgit v1.2.3