Search Results

Search: Posts Made By: jagadeeshn04
21,863
Posted By jagadeeshn04
SQL query output convert to HTML & send as email body
Hi ,

I have a sql query in the unix script ,whose output is shown below.I want to convert this output to HTML table format & send email from unix with this table as email body.

p_id ...
3,656
Posted By jagadeeshn04
zip files in bundle
Hi,

Below is the scneario

a.txt
b.txt
c.txt .......

i have written a script to zip these files & the output after executing script is
a.txt.zip
b.txt.zip
c.txt.zip

but i dnt want...
2,192
Posted By jagadeeshn04
To move multiple files to a new folder everytime
Hi ,

Below is the scenario

A.txt
B.txt
C.csv
..........

i want to move all the above files in to a new path & new folder .This folder is created based on date(for ex: today's fodler...
788
Posted By jagadeeshn04
Need Help with find command
Hi,

Am using find command in for loop to do certain action for files in a directory .The command is shown below
for file in `find . \( -name 'lmt*.txt' -o -name '*.csv' \)`

But the result...
1,908
Posted By jagadeeshn04
Thanks for above replies..but the problem is i...
Thanks for above replies..but the problem is i should nto use rm command & files should be archived & moved(not just moving)
1,908
Posted By jagadeeshn04
Archive & move the file
I have a set of files in path /ifx01/etldata/lmt/
a.xml
b.xml
I have to archive & move these files to path /ifx01/etldata/archive ,so that not even the original files should exists.
After...
3,121
Posted By jagadeeshn04
Get input from another file
Hi,

i have the below code which performs some action on the selected file(here it is doing on abc*.txt)
file=$(ls -tr abc*.txt | tail -1)
length=$(expr length "$file")
let date_len=$length-11...
1,714
Posted By jagadeeshn04
to find the last updated file from different groups of files.
Hi

i have many sets of files as shown below(here i have shown 2 sets)

basel_aa_20091030.txt
basel_aa_20091130.txt
basel_aa_20091230.txt

basel_bb_20091030.txt
basel_bb_20091130.txt...
1,278
Posted By jagadeeshn04
help required for below code
hi

file=$(ls -tr GMG_*.txt | tail -1)
var_date="20091030"
v_rdate=="20091030"
var_text=$(expr substr $file 1 10)
var_newfile=$var_text.txt

in the above code i have 2 variables .v_rdate...
16,403
Posted By jagadeeshn04
thanks
thanks a lot
i used the first approach & it worked.
16,403
Posted By jagadeeshn04
help required for 'expr substr' function
hi

iam trying to extract a certain portion of the string whose value is stored below,but am getting syntax eror.The command is shown below

for file in GMG_BASEL2*.txt
do
m1= cat...
Showing results 1 to 11 of 11

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