From e0faf55ef2b7d6a11e517d91ee5b0ab8b3961eb5 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 11 Aug 2022 08:48:02 -0500 Subject: Actually.. move files --- runsfeed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runsfeed') diff --git a/runsfeed b/runsfeed index 2068434..90c128d 100755 --- a/runsfeed +++ b/runsfeed @@ -151,8 +151,8 @@ archive() ( # sfeed_archive AGE FEED ... for feed; do awk -v old="$(($(date +%s) - (age * 24 * 3600)))" \ -F '\t' 'int($1) > old' <"$feed" >"$feed.new" - echo mv "$feed" "$old/${feed##*/}" && - echo mv "$feed.new" "$feed" + mv "$feed" "$old/${feed##*/}" && + mv "$feed.new" "$feed" done ) -- cgit 1.4.1-21-gabe81