Package: backup2l
Version: 1.4
Severity: wishlist
Tags: patch

It was a bit annoying that mutt was no longer able to figure out
which folders contained new emails after a backup run.

This patch fixes this by adding --atime-preserve to invocations
of tar.


--- backup2l.old        2006-02-07 17:23:10.000000000 +0100
+++ backup2l    2006-02-07 17:24:17.000000000 +0100
@@ -170,7 +170,7 @@
             echo "tar"
             ;;
         -create)        # Arguments: $2 = BID, $3 = archive file name, $4 = 
file list file
-            tar cf $3 -T $4 --no-recursion 2>&1 \
+            tar cf $3 -T $4 --no-recursion --atime-preserve 2>&1 \
                 | grep -v 'tar: Removing leading .* from .* names'
             ;;
         -toc)           # Arguments: $2 = BID, $3 = archive file name
@@ -194,7 +194,7 @@
             echo "tar.gz"
             ;;
         -create)        # Arguments: $2 = BID, $3 = archive file name, $4 = 
file list file
-            tar czf $3 -T $4 --no-recursion 2>&1 \
+            tar czf $3 -T $4 --no-recursion --atime-preserve 2>&1 \
                 | grep -v 'tar: Removing leading .* from .* names'
             ;;
         -toc)           # Arguments: $2 = BID, $3 = archive file name
@@ -218,7 +218,7 @@
             echo "tar.bz2"
             ;;
         -create)        # Arguments: $2 = BID, $3 = archive file name, $4 = 
file list file
-            tar cjf $3 -T $4 --no-recursion 2>&1 \
+            tar cjf $3 -T $4 --no-recursion --atime-preserve 2>&1 \
                 | grep -v 'tar: Removing leading .* from .* names'
             ;;
         -toc)           # Arguments: $2 = BID, $3 = archive file name


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to