3 ###############################################################################
6 # Author : Chris Koeritz #
7 # Rights : Copyright (C) 1996-$now by Author #
11 # Unpacks a snarf file and updates the archive number for the file type. #
13 ###############################################################################
14 # This program is free software; you can redistribute it and/or modify it #
15 # under the terms of the GNU General Public License as published by the Free #
16 # Software Foundation; either version 2 of the License or (at your option) #
17 # any later version. See: "http://www.gruntose.com/Info/GNU/GPL.html" for a #
18 # version of the License. Please send any updates to "fred@gruntose.com". #
19 ###############################################################################
21 require "shared_snarfer.pl";
23 # check that we received a parameter.
29 local($filename) = $ARGV[0];
31 &restore_archive($filename);
35 sub print_instructions {
36 print "this program needs a filename as a parameter. the file will be\n";
37 print "unsnarfed into an appropriate subdirectory and the backup number\n";
38 print "will be updated.\n";