- or download this
my $confpath;
my $servername;
...
$confpath = "/export/mksysb";
$filepath = "/export/mksysb";
$filemaxage = "360";
- or download this
my $confpath = '/export/mksysb';
my $filepath = '/export/mksysb';
my $filemaxage = 360;
- or download this
while(<FILE>){
chomp($servername = $_);
- or download this
while ( my $servername = <FILE> ) {
chomp $servername;
- or download this
if (-M $_ > "$filemaxage"){
- or download this
mkdir("$filepath/$servername");
system("nim -o define -t mksysb -a server=master -a mk_image=yes -a lo
+cation=$filepath/$servername/$servername\_`date +%m%d%Y` -a source=$s
+ervername $servername\_`date +%m%d%Y`");