changeset 55:7958ac21f9bf

fixed unarchiving of multiple versions by adding -ifnewer option to dsmc ret
author casties
date Tue, 11 Aug 2009 16:34:59 +0200
parents 8e19bc5ca86a
children 9d7df218f94c
files unarchiver.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/unarchiver.pl	Mon Feb 02 12:45:15 2009 +0100
+++ b/unarchiver.pl	Tue Aug 11 16:34:59 2009 +0200
@@ -18,7 +18,7 @@
 #
 
 # program version
-my $version = "0.3.3 (10.9.2008)";
+my $version = "0.3.4 (11.8.2009)";
 
 # read command line parameters
 my $args = parseargs;
@@ -200,7 +200,7 @@
 
     print LOG "START unarchive $version on ", scalar localtime, "\n";
     my $archcmd = $archprog;
-    $archcmd .= " retrieve -subdir=yes -replace=all";
+    $archcmd .= " retrieve -subdir=yes -replace=all -ifnewer";
     $archcmd .= " -description='$archname'"; # archive name
     $archcmd .= " '$archmount/'"; # archive mount point
     $archcmd .= " '$archparent/'"; # destination dir name