This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ] ; then | |
echo clone source-dir target-dir num hour/min/sec | |
else | |
echo Cloning "$1" to "$2" | |
vmx=`find "$1" -name '*vmx'` | |
if [ "$vmx" == "" ] ; then | |
echo Could not find VMX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use Carp; | |
use Fcntl qw(:mode); | |
use POSIX qw(:sys_wait_h); | |
use File::Spec; | |
use IO::Dir; | |
use VMware::VmPerl; | |
use VMware::VmPerl::ConnectParams; |