From 2c809fb51f8723ee4499c48dcf81939f39e7e4c9 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Dec 2007 20:47:57 +0000 Subject: [PATCH] sdx is now sorted on file name --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 4d8565b..8f85b14 100755 --- a/backup.sh +++ b/backup.sh @@ -142,8 +142,8 @@ backup() # Update timestamp echo $DATEs > ../.date && touch -t $DATE ../.date - # Make a sorted filelist - grep -v ^d $DATE.idx | sort -n -r -k 2 > $DATE.sdx + # Make a sorted filelist as well + sort -k6 < $DATE.sdx > $DATE.sdx # Fix permissions chmod 600 *tgz #only for us -- 2.39.2