Search Results

Search: Posts Made By: ksrams
25,485
Posted By ksrams
Shell_Life, Sorry..here is the information.. ...
Shell_Life,
Sorry..here is the information..

code for input_cp_output.ksh:


I am executing this script input_cp_output.ksh using the following command

out put is :


Could you please...
25,485
Posted By ksrams
shell_life, could you plase help me on the...
shell_life,
could you plase help me on the above error..
25,485
Posted By ksrams
Thanks Shell_Life..Now output displays all the...
Thanks Shell_Life..Now output displays all the files in the input directory with inside loop error can't open file.txt and this 0 byte file.txt copied to the directory one level above the output...
25,485
Posted By ksrams
The output is do we need to check any...
The output is

do we need to check any entries in .profile
25,485
Posted By ksrams
Shell_Life, I am running this script from...
Shell_Life,

I am running this script from seperate directory called script directory..
when i ran this script its taking input files from script directory(which has only .ksh files) instead of...
25,485
Posted By ksrams
Yes ..My input file name extensions are .TXT ...
Yes ..My input file name extensions are .TXT
Input file(s) located under directory /input and file names are:
1) input1_20070723_171556.TXT
2) input2_20070723_171556.TXT
3)...
25,485
Posted By ksrams
File extensions in the input directory are .TXT...
File extensions in the input directory are .TXT and i want output file extensions as .txt

Thanks..
25,485
Posted By ksrams
Jambesh, I tried your code and its giving me...
Jambesh,

I tried your code and its giving me this output



Any Idea how to correct the above error..
25,485
Posted By ksrams
Thanks a lot for all your prompt responses...
Thanks a lot for all your prompt responses Shell_life.
I made the above change and did run the script but its not copied any of the files in input directory to output directory.
Still i got output...
25,485
Posted By ksrams
Here is the script.. Then i executed the...
Here is the script..


Then i executed the following command for script cp_script.ksh



Output displayed on the screen is

None of the files copied to /home/output directory
Please...
25,485
Posted By ksrams
Please help me out Shell_reply, lorcan.. ...
Please help me out Shell_reply, lorcan..

Thanks
25,485
Posted By ksrams
I tried your script but it got result as bad...
I tried your script but it got result as bad substitution

Could you tell why its giving this error
fyi..file names could start with any characters not starts with file.
Please let me know if you...
25,485
Posted By ksrams
I did pass the correct parameters but it didn't...
I did pass the correct parameters but it didn't work
25,485
Posted By ksrams
Shell_life, i tried the above script and it...
Shell_life,

i tried the above script and it didn't work..even its not going into do loop.
Please help me out
25,485
Posted By ksrams
Hi Shell_Life, Input files not always starts...
Hi Shell_Life,

Input files not always starts with input*.txt,input files could start with any name.I want to process all the files under input directory and filename last 20 characters are always...
25,485
Posted By ksrams
Thanks for quick reply Shell_Life. Here is...
Thanks for quick reply Shell_Life.

Here is the info.
Input file(s) located under directory /input and file names are:
1) input1_20070723_171556.txt
2) input2_20070723_171556.txt
3)...
25,485
Posted By ksrams
Copy all the files with time stamp and remove header,trailer from file
All,

I am new to unix and i have the following requirement.

I have file(s) landing into input directory with timestamp, first i want to copy all these files into seperate directory then i want...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy