Help for this page

Select Code to Download


  1. or download this
    $ssh->system("cd $dir && tar czf /tmp/file.tgz .");
    
  2. or download this
    $ssh->system({stdout_file => '/tmp/file.tgz'}, "cd $dir && tar czf - .
    +");