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.
KSH Script-Need Help
Name: maverick Date: September 9, 2003 at 06:09:54 Pacific OS: AIX CPU/Ram: 2
Comment:
Hi everyone,
I was asked to create a ksh script which does the following: (using ksh88 on AIX)
1. Check if file transfer is finished (via sftp) 2. Check if transferred file 'xxxxMM.txt' exists where xxxx can be any 4 characters and MM.txt is exactly how it appears. 3. If exists, check if 'xxxxDD.txt' exists (partner of previous file) where 'xxxx' is equal to previous 'xxxx'. 4. If exists, pass filenames as parameter to a pre-defined process. 5. Loop to step 2 if another 'yyyyMM.txt' exists. execute 3&4 until no more file to process. 6. Delete processed files 7. Exit.
Summary: Hello all, I'm having a problem with one part of my KSH script. Below is the script and OutPut. What I would like to do next is combine field 1 "example = Accoskypager" with the other Accoskypager bu...
Summary: 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...
Summary: Hi All: I am a newbie for ksh scripting.My code doesn't work. Can someone help? I am trying to automate the process of file read from a directory. The files older than 3 days are supposed to be archiv...