Hello All
I got a question please allow me to explain my problem first.
I have 5 files in a directory;
a.dat
b.dat
c.dat
d.dat
e.dat
I will like to write a script which will cp the files one by one to new file and then do some other work.
so what will happen is;
until file is found
LOOP
cp (file name) to new.dat
run a pl/sql procedure
mv (file name) /to/archive/path/(file name)
end loop
I hope you can understand my problem.
Thanks for all your help.
I got a question please allow me to explain my problem first.
I have 5 files in a directory;
a.dat
b.dat
c.dat
d.dat
e.dat
I will like to write a script which will cp the files one by one to new file and then do some other work.
so what will happen is;
until file is found
LOOP
cp (file name) to new.dat
run a pl/sql procedure
mv (file name) /to/archive/path/(file name)
end loop
I hope you can understand my problem.
Thanks for all your help.