Help for this page

Select Code to Download


  1. or download this
    my $Usage = "usage: volume root_dir subvol timeframe dateformat keep\n
    +";
    @ARGV == 6 or die $Usage;  # we need six arguments
    ...
      $date_format_arg,        # to comment
      $snaps_to_keep_arg,      # what they are about
    ) = @ARGV;
    
  2. or download this
    sub create_snapshot_name { 
    
    ...
          
      sprintf "day=%02d_%02d_%04d,time=%02d:%02d",@fields,$yr,$hr,$min;
    }
    
  3. or download this
    This script should not be used by the end user.
    
  4. or download this
    exec "pod2man $0" if -t; # display manual page if invoked from termina
    +l