From a7f511e7c9e8099db097d58c4fa6775766850c56 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 11 Sep 2018 12:29:10 +0200 Subject: CACHEDIR instead of .keep --- rolling-directory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rolling-directory') diff --git a/rolling-directory b/rolling-directory index d8a06e3..cb753f1 100644 --- a/rolling-directory +++ b/rolling-directory @@ -12,7 +12,7 @@ shift 2 [[ "${maxSize}" = <-> ]] || exit 2 typeset -a findExtra -findExtra=(-not -path ${dir}/CACHEDIR.TAG -not -name .keep) +findExtra=(-not -name CACHEDIR.TAG) resize() { echo "Resizing ${dir} to below $(numfmt --to=iec-i --suffix=B -- ${maxSize})..." >&2 -- cgit v1.2.3