summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-11 12:29:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-11 12:29:10 +0200
commita7f511e7c9e8099db097d58c4fa6775766850c56 (patch)
treeae4a601cbad06ae457ef3e5da65d29ff2a544d31
parent4d20eb530a99959615cb16050a967af56739ab25 (diff)
downloadutils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar
utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar.gz
utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar.bz2
utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar.xz
utils-a7f511e7c9e8099db097d58c4fa6775766850c56.zip
CACHEDIR instead of .keep
-rw-r--r--rolling-directory2
1 files changed, 1 insertions, 1 deletions
diff --git a/rolling-directory b/rolling-directory
index d8a06e3..cb753f1 100644
--- a/rolling-directory
+++ b/rolling-directory
@@ -12,7 +12,7 @@ shift 2
12[[ "${maxSize}" = <-> ]] || exit 2 12[[ "${maxSize}" = <-> ]] || exit 2
13 13
14typeset -a findExtra 14typeset -a findExtra
15findExtra=(-not -path ${dir}/CACHEDIR.TAG -not -name .keep) 15findExtra=(-not -name CACHEDIR.TAG)
16 16
17resize() { 17resize() {
18 echo "Resizing ${dir} to below $(numfmt --to=iec-i --suffix=B -- ${maxSize})..." >&2 18 echo "Resizing ${dir} to below $(numfmt --to=iec-i --suffix=B -- ${maxSize})..." >&2