Help for this page

Select Code to Download


  1. or download this
    my $backupcommand = "tar -cvf - ".$directory."/".$seasonYear."*.html|7
    +z a -mx9 -si ".$backupdirectory."/".$seasonYear.".tar.7z";
    my $result = `$backupcommand 2>&1`;
    
  2. or download this
    user@server:~$ perl dailyscript.pl > testout.txt
    tar: Removing leading `/' from member names
    /home/user/backupdirectory/2011.html
    user@server:~$
    
  3. or download this
    
    7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
    ...
    Compressing  [Content]
    
    Everything is Ok
    
  4. or download this
    my $backupcommand = "tar -cvf - ".$directory."/".$seasonYear."*.html 2
    +>&1|7z a -mx9 -si ".$backupdirectory."/".$seasonYear.".tar.7z";
    my $result = `$backupcommand 2>&1`;