about summary refs log tree commit diff stats
path: root/runsfeed
diff options
context:
space:
mode:
Diffstat (limited to 'runsfeed')
-rwxr-xr-xrunsfeed4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsfeed b/runsfeed index 2068434..90c128d 100755 --- a/runsfeed +++ b/runsfeed
@@ -151,8 +151,8 @@ archive() ( # sfeed_archive AGE FEED ...
151 for feed; do 151 for feed; do
152 awk -v old="$(($(date +%s) - (age * 24 * 3600)))" \ 152 awk -v old="$(($(date +%s) - (age * 24 * 3600)))" \
153 -F '\t' 'int($1) > old' <"$feed" >"$feed.new" 153 -F '\t' 'int($1) > old' <"$feed" >"$feed.new"
154 echo mv "$feed" "$old/${feed##*/}" && 154 mv "$feed" "$old/${feed##*/}" &&
155 echo mv "$feed.new" "$feed" 155 mv "$feed.new" "$feed"
156 done 156 done
157) 157)
158 158