Home » Infrastructure » Unix » Please advise immediately
Please advise immediately [message #98624] Mon, 07 February 2005 06:26
Neha
Messages: 20
Registered: July 2000
Junior Member
I have a file named as follows:

20031014_out.txt

Is there a way that I could just read the name of this file before ftping it. I have to just read the date part(20031014) and verify it with previous ftped file date(lets say 20031012). If it is newer start ftpng it otherwise ignore it. I need a unix shell script that does the above and the file resides on a windows server. The file date will change once a month.

Thanks,
Neha
Previous Topic: 32 bit vs 64 bit compatibility
Next Topic: what is the need to keep #! /bin/ksh in every script?
Goto Forum:
  


Current Time: Sat Jan 16 12:08:09 CST 2021