Search Results

Search: Posts Made By: awais290
3,520
Posted By awais290
$cat badfile.txt column_testingerror.csv ...
$cat badfile.txt
column_testingerror.csv
test_data_validation.csv
Cal_test.csv

this is just a list of files. i need to send all the files as a attachment. thanks
3,520
Posted By awais290
we are not extracting the name from any where....
we are not extracting the name from any where. e.g i will put my email. in badfile.txt it shows only the file name not the actual data file. we are not moving the file from BASE DIR. but in the...
3,520
Posted By awais290
hi coronna688 thanks for your reply. we...
hi coronna688

thanks for your reply. we need to send whatever the files which is listed in the badfile.txt.. get that files from the source and attach it and send it.

here in this case...
3,520
Posted By awais290
hi ctsgnb you mean to say i should send the...
hi ctsgnb

you mean to say i should send the files after come out from the condition done.
3,520
Posted By awais290
moving files based on condition
hi

i have to move files and send an email and attached the bad files to inform the developer about that.

#!/bin/ksh
BASE_DIR=/data/SrcFiles
cd $BASE_DIR
## finding the files from work...
2,458
Posted By awais290
thanks scrutinizer.. appericiated. see the we...
thanks scrutinizer.. appericiated. see the we have to put all the bad files in one of the text file in the same dir. and same with good files. some thing like this

X = awk -F, 'function...
2,458
Posted By awais290
thanks a lot gurus
yeh its working
2,458
Posted By awais290
thanks a lot for all your replies. i dont know...
thanks a lot for all your replies. i dont know how many columns will be in each file. just for example i mention 4 columns. i got the logic i will try using the above logic.

here is the code...
2,458
Posted By awais290
missing comma delimeter in columns
hi

if comma delimeter missing in columns treat them as bad file and if it is not then gudfiles. only checking columns not data.

id,name,sal,deptno =======> gudfile
1,awa,200,10...
22,669
Posted By awais290
missing coma delimeter in columns
hi

if coma delimeter missing in columns treat them as bad file and if it is not then gudfiles. just checking columns not data.

id,name,sal,deptno
1,awa,200,10
2,aba,100,20
3,cdc,300,30 ...
Showing results 1 to 10 of 10

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