in reply to Re: Get remote file TimeStamp
in thread Get remote file TimeStamp
This was fine on Linux/bash , but not HP-UX/ksh. I then got this working at the command line
ssh -q aimuat perl -e \'\$MTIME = \( stat \( \"Envs_aimuat.xml\" \)\)\[9\]\;print \$MTIME\;\'But when I put in into a perl script it fails
Any Ideas? Thanx$TStamp=`ssh -v aimuat perl -e '\$MTIME = \( stat \( \"Envs_aimuat.xml +\" \)\)\[9\]\;print \$MTIME\;'`; print "$TStamp";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Get remote file TimeStamp
by Eliya (Vicar) on Feb 29, 2012 at 18:10 UTC | |
by Saved (Beadle) on Mar 01, 2012 at 11:21 UTC | |
by Eliya (Vicar) on Mar 01, 2012 at 12:49 UTC | |
by Saved (Beadle) on Mar 01, 2012 at 13:54 UTC |