Search Results

Search: Posts Made By: tushar_spatil
3,560
Posted By tushar_spatil
call sql through shell script
Hi i am not able to connect sqlplus
my script is as follows

$ORACLE_HOME/bin/sqlplus << ! > /tmp/extract/DM.txt

and output is


SQL*Plus: Release 11.1.0.7.0 - Production on Wed Jan...
2,527
Posted By tushar_spatil
any clue?
any clue?
2,527
Posted By tushar_spatil
thanks for reply curleb I have copy.sh...
thanks for reply curleb

I have copy.sh script and content of script is as follows


cd /sasdata/script
sh .TR_CNTO328.sh 2>&1 | tee -a TR_CNTO328.log
wait
sh .CNT06785.sh 2>&1 | tee -a...
2,527
Posted By tushar_spatil
how to get the STDOUT file so that it contain all...
how to get the STDOUT file so that it contain all the entries of files?
I am trying but not geting as excepted result. you guys have any clue my command follows
2,527
Posted By tushar_spatil
This is output , and ...
This is output


,
and





that is all i am looking for .log file must exist the entry of copied files.
i tried with your suggestion but same result.
2,527
Posted By tushar_spatil
still getting same not copied data
still getting same not copied data
2,527
Posted By tushar_spatil
thanks for reply i will try nad let you know
thanks for reply i will try nad let you know
2,527
Posted By tushar_spatil
Output file content
Hi, When i run a script it is showing me the whole authentication and data to be copied on screen

server1:/sasdata/script#sh .TR_CNTO328.sh
**************************************************...
Forum: Programming 01-02-2012
2,773
Posted By tushar_spatil
[Solved] Append instead of overwrite
Hi,

I have a script which append the .csv file which already exist but in my scenarion every time instead of appending the contect it overwrite the file and creating new .csv file.


SET...
14,252
Posted By tushar_spatil
thank you all for your response i just got to...
thank you all for your response i just got to know that one can not retain ownership of file/directory while SCP!!!
14,252
Posted By tushar_spatil
Hi Thanks for reply i have to use scp only....
Hi
Thanks for reply i have to use scp only. then how to preserve ownership in scp
any help will be appriciated

Thanks and Regards
14,252
Posted By tushar_spatil
retain ownership
Hi,
I have a script which transfers files/directories from one HP unix to another HP unix server using SCP but i need to retain ownership of files/folders same as source server my script is as...
1,728
Posted By tushar_spatil
sync directory
Hi,

I have directory name as TEST on server1 and same directory TEST on server2 now i need to using these directories as new directories and files will be generated by application in TEST...
Forum: HP-UX 10-27-2011
7,593
Posted By tushar_spatil
difference between hostname and uname -n
Hi,

What is difference between and and relation with kernel parameter such as in HP -UNIX 11.31
2,436
Posted By tushar_spatil
can i copy files to same directry structure...
can i copy files to same directry structure present on another server because while trying it shows error "Identical path"


IFS="
"

LOCALFILES="$(find /sasdata/copydata -type f ! -newer...
Forum: HP-UX 10-19-2011
3,420
Posted By tushar_spatil
memory utilization
command for checking memory utilization in HP -UX
12,540
Posted By tushar_spatil
I have user who is doing at job and which has...
I have user who is doing at job and which has assignd /bin/sh shell but when executing above code it gives worning message.because of this i cant submit job through application.

code:
#cat...
12,540
Posted By tushar_spatil
Commands will be executed using /usr/bin/sh
Hi,

how to overcome this warning issue.

code:

#echo 'ls > /home/rxcprod/a.out' | at -q a now
warning: commands will be executed using /usr/bin/sh
job 1318943704.a at Tue Oct 18...
2,436
Posted By tushar_spatil
i dont have rsync pkg installed on my unix box ...
i dont have rsync pkg installed on my unix box

hi corona688 i can find modified files but can't transfer these files to respective directories by scp. please suggest siplest code to do that
2,436
Posted By tushar_spatil
scp throws error
My script is like

STAMP=$(perl -e '($ss, $mm, $hh, $DD, $MM, $YY) = localtime(time() - 100);
printf "%04d%02d%02d%02d%02d", $YY + 1900, $MM + 1, $DD, $hh, $mm')
touch $STAMP /sasdata/copydata/...
29,925
Posted By tushar_spatil
Hi, (find /a/b/c -mmin -15 -print >...
Hi,

(find /a/b/c -mmin -15 -print > output.txt
find: bad option -mmin)

I have root directory on server 1 say A and having sub directory B now my application generates output files and put...
4,372
Posted By tushar_spatil
perl script to transfer newly generated files by scp
Hi all,

I have root directory on server 1 say A and having sub directory B now my application generates output files and put in sub directory B.
now i need to transfer these files from...
29,925
Posted By tushar_spatil
hi jay, Thank you my problem is solved now ...
hi jay,

Thank you my problem is solved now

---------- Post updated at 08:59 AM ---------- Previous update was at 08:57 AM ----------

last one if i have to find files which are modified for...
29,925
Posted By tushar_spatil
Hi Jayan_ja Thanks for your...
Hi Jayan_ja
Thanks for your quick reply.
I have a,b,c folders and all folders are updated by new files all the day now i have to transfer these modified files to another unix server...
29,925
Posted By tushar_spatil
Transfer only modified files by SCP
Hi all,

I want to transfer only modified files from one unix server to another unix sever ,tried hard but not succeeded please help me out to resolve it. The script is as below :wall:

ssh...
Showing results 1 to 25 of 25

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