Search Results

Search: Posts Made By: wangkc
1,736
Posted By wangkc
If File is present send a mail and Archive
Hi ,

Please help me with a logic, how can I acheive the below.

I have a directory /eth/Src/, when ever there is a file(or files) created in this directory, (after the file is completely copied...
1,866
Posted By wangkc
Thanks all for the replies.. I will try these.,...
Thanks all for the replies.. I will try these., and some times I have more than 1000 files, so need to think about exceeding MAX_ARGS :)
1,866
Posted By wangkc
Script for checking the files in a folder
Hi ,

I am using the below script for checking for a file in a folder.


if [ -f $FILE ];
then
echo 0
else
echo 1
fi

Is there any way we can check for files which are starting with...
3,118
Posted By wangkc
Checking for File Size
HI ,

How can I check if a file exists in a particular folder and it exists it size in greater than 0 kb.

Basically I am trying to write a script which will check if a file exists and if exists...
28,545
Posted By wangkc
you have to run this command from informatica...
you have to run this command from informatica server folder>bin folder where pmcmd executable exists. the command will not run from other folders
1,479
Posted By wangkc
Thanks both of you , Can you pls explain me what...
Thanks both of you , Can you pls explain me what it is doing

sed -ne '/^[0-9]/p' infile
1,479
Posted By wangkc
File cleaning
HI ,

I am getting the source data as below.




Source Data

CDR_Data,,,,,

F1,F2,F3,F4,F5,F6
5,5,6,7,8,7
6,6,g,,,
7,7,76,,,
8,8,gt,,,
9,9,df ,d,d,d


,,,,,
5,169
Posted By wangkc
Best way to Copy Files From One server to another server
Hi ,

I have two servers say server A and server B. I am generating some files in server A which I have to copy to Server B,what will be the best option and why it is better than the other( as I...
7,108
Posted By wangkc
Hey yazu, Sorry if I confused you,I was...
Hey yazu,

Sorry if I confused you,I was asking if I have the below source data , do I need to repeat the sed command for that many occurrence or is there any alternate way.
...
7,108
Posted By wangkc
Hey , What if the 2nd,4th,5th column names...
Hey ,

What if the 2nd,4th,5th column names are changing dynamically, do we need to write the code for that many dynamic names are is there any aautomated way to do it..,just interested to know if...
996
Posted By wangkc
Substring between third and fourth occurrence
Hi ,

Please help me to get the data extracted between the 3rd and 4th dot of a transaction file.


Source data...
1,508
Posted By wangkc
Replacing multiple extensions
HI,

I have some csv files with mutiple extensions, I want to remove all the extensions and keep only the .csv extension.

anybody can suggest me how to do this.

source files
...
917
Posted By wangkc
Column as File Name
Hi ,

Can any one suggest me how to proceed for achieving the below target data.

source data

File_name|EMPNO|sal|DEPTNO|ABC|XYZ
emp.txt|123|2000|02| |
dept.txt| | | 03| | |...
Showing results 1 to 13 of 13

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