Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compare two Files - KSH Script !!!

Status
Not open for further replies.

kh1978

Technical User
Jun 12, 2004
21
0
0
DE
Hello together,
perhaps can anybody help me. How can i compare the time stamp of two files. One File is local and the other one is remote. I want query it with the secure shell.

e.g.
if [ file1 -nt `ssh ....` ]
.
.
.
fi

kind regards
kai
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top