in reply to Re^3: Get remote file TimeStamp
in thread Get remote file TimeStamp
This works well, and since I cannot add modules, it is preferred. My last problem which I am still working on is that the "aimuat" in the name argument of the ssh, and farther on in the file name needs to be a variable.
foreach $SYSTEM (ifeuu1, ifcau1, ifcaa1, mifuat, aimuat, timeuat) { my $cmd = q|ssh -q $SYSTEM perl -e \'print +\( stat \( \"Envs_$SYSTEM. +xml\" \)\)\[9\]\;\'|; print `$cmd`; }
Thanx for all your help, it is much appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Get remote file TimeStamp
by Eliya (Vicar) on Mar 01, 2012 at 12:49 UTC | |
by Saved (Beadle) on Mar 01, 2012 at 13:54 UTC |