diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 12:29:10 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 12:29:10 +0200 |
commit | a7f511e7c9e8099db097d58c4fa6775766850c56 (patch) | |
tree | ae4a601cbad06ae457ef3e5da65d29ff2a544d31 /rolling-directory | |
parent | 4d20eb530a99959615cb16050a967af56739ab25 (diff) | |
download | utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar.gz utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar.bz2 utils-a7f511e7c9e8099db097d58c4fa6775766850c56.tar.xz utils-a7f511e7c9e8099db097d58c4fa6775766850c56.zip |
CACHEDIR instead of .keep
Diffstat (limited to 'rolling-directory')
-rw-r--r-- | rolling-directory | 2 |
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 | ||
14 | typeset -a findExtra | 14 | typeset -a findExtra |
15 | findExtra=(-not -path ${dir}/CACHEDIR.TAG -not -name .keep) | 15 | findExtra=(-not -name CACHEDIR.TAG) |
16 | 16 | ||
17 | resize() { | 17 | resize() { |
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 |