# HG changeset patch # User casties # Date 1250001299 -7200 # Node ID 7958ac21f9bfb89ce8d2dfffe26d63cc4e9a9497 # Parent 8e19bc5ca86a2f0047bfdf1a031c9d09ad4b23c5 fixed unarchiving of multiple versions by adding -ifnewer option to dsmc ret diff -r 8e19bc5ca86a -r 7958ac21f9bf unarchiver.pl --- 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