Search Results

Search: Posts Made By: cedrichiu
9,326
Posted By cedrichiu
If there is a single file, should be easiar. But...
If there is a single file, should be easiar. But what if I hv list of 1000 files, in which I want to identify which filelist are contains those matched pattern.

Please advise.
9,326
Posted By cedrichiu
To identify filename in which having match PATTERN
Hi,

Any idea to identify bunch of files( gz format) in which having match PATTERN wanted and print out those files ? :)


Regards,
57,715
Posted By cedrichiu
Remove zero bytes files in folder
Hi,

Please shed some light on how to quickly remove all the zero bytes in which there are some mixtures of more than zero bytes in it.

For eg:
> ls -lrt

-rw-r--r-- 1 ab noen ...
10,635
Posted By cedrichiu
hi, I'm not sure whether if conditional...
hi,

I'm not sure whether if conditional statement correct or not? Please advise
Basically, if the field 2 exist and with value , it will be update set as cust_alt_fax column and if field 3 exist...
3,513
Posted By cedrichiu
Unload utility with loop method
Hi,

I just wonder why the unload tools from INFORMIX doesn't unload all required file to every output of mOutFile at the accumulative way OR my script has an error ? In fact it just unload to...
3,747
Posted By cedrichiu
It still make no difference.. :(
It still make no difference.. :(
3,747
Posted By cedrichiu
hi aigles, I think it won't help. I noticed...
hi aigles,

I think it won't help. I noticed mv didn't work at all.
3,747
Posted By cedrichiu
count=0 limit=10 mydate=`date...
count=0
limit=10
mydate=`date '+%Y%m%d%H%M%S'`

cd /var/tmp/VAS

for mFile in x????
do
mv $mFile $mFile".txt"
count=`expr $count+1`
if [ $count -le $limit ]
then
...
3,747
Posted By cedrichiu
Hi aigles and Shell_Life, Thanks for yours...
Hi aigles and Shell_Life,

Thanks for yours input. I will give a try.
Cheers
3,747
Posted By cedrichiu
How to read max of 10 file at a time?
Hi All,

Please advise . Welcome more suggestions.

For examples, I have 1000 file with prefix x??? In fact, I want to convert them to x???.txt with max 10 files at a time. As such, I will need...
10,635
Posted By cedrichiu
Hi Shell_Life, If I list out content of ...
Hi Shell_Life,

If I list out content of

> cat xaa | head

392183921|94389549|A584958|TOM|11, CON STREET|BROADWAY|1122

Somehow, this is what could figure out on how to read from if it is...
10,635
Posted By cedrichiu
How to read from multiple files
Hi All,

I have list of multiple files with 7 fields all together. Those are being split to exact lines of 20000 each.

xaa
xab
:
:
:
xhx


Please advise me how to read from those files...
3,724
Posted By cedrichiu
Thanks you..
Thanks you..
3,724
Posted By cedrichiu
How to copy file and locate in new folder?
Hi All,

Please advise me how to make a copy of file from a list and store in one particular location?

For example , I have aaa.txt which contains as below, But, those *usg files might be...
2,312
Posted By cedrichiu
hi.. thanks. it works :) I will find out then.
hi.. thanks. it works :)
I will find out then.
2,312
Posted By cedrichiu
Renaming files
hi,

I have the following files as below.

reg_test_123232
reg_test_125654
reg_test_473843

How do I rename reg_test_123232 to abc_123232 and the rest of file by just keeping the numeric...
4,987
Posted By cedrichiu
Change Position of word character
Hi,

I have following format in file aaa with content below, and would like to seek help from forumer about how to change and swap the position on 2nd field.

5874957|901125|
95874960|650614|...
Showing results 1 to 17 of 17

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