Computing.Net > Forums > Unix > Urgent help with KSH script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Urgent help with KSH script

Reply to Message Icon

Name: Kalyan_Unix
Date: January 28, 2008 at 08:32:47 Pacific
OS: Unix
CPU/Ram: Intel
Comment:

Hi All:

I need a KSH script which does the following:
1. CD to Directory - "/home/RAOB/TOC/" and list the files present in that directory

2. Generate both Local time and GM time and compare the file's time with GM time.

3. If the file's timestamp is lower than the GM time (meaning 3 days older), then we move it to a new directory from the list and pick another file. Else, process it as an command line argument to program (/root/home/source/programs/abc.c)

4. Paralelly, append that file, which is processed from the directory and store it in a log file

Please help me with some steps

Regards,
Kalyan




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


help with shell scripts loop a command with param...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Urgent help with KSH script

Need Help With KSH Script www.computing.net/answers/unix/need-help-with-ksh-script/6747.html

Can someone help wid KSH script err www.computing.net/answers/unix/can-someone-help-wid-ksh-script-err/8021.html

need help with unix script www.computing.net/answers/unix/need-help-with-unix-script/8209.html