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";
In reply to Re^2: Get remote file TimeStamp
by Saved
in thread Get remote file TimeStamp
by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |