Search Results

Search: Posts Made By: dsa
3,542
Posted By dsa
i meant masking sensitive data before giving it...
i meant masking sensitive data before giving it to end user.

It should also be retraceable in case it comes back
3,542
Posted By dsa
Masking data
How Can I mask one particular columns using some unix command?
1,527
Posted By dsa
already used it but not working.
already used it but not working.
1,527
Posted By dsa
Inserting new line
Hi all,

I want ot print a header with new line in the end. I am using echo

like echo "this is header"

I want output like

This is header

$

I tried -e also but it's not working. echo...
14,269
Posted By dsa
is it possible to do without doing these public...
is it possible to do without doing these public private key pair or updating rhosts file? may be not with scp but with ftp then?

Only requirement is it should be password less and could be...
14,269
Posted By dsa
no not yet. How can I do that?
no not yet. How can I do that?
14,269
Posted By dsa
Thanks Spynapples. One more thing, when I...
Thanks Spynapples.

One more thing, when I transfer the file using scp, it asks for the password at run time. Is there any way to transfer the file using scp non interactively? Need to automate it.
14,269
Posted By dsa
I tried the code given by you: cd $LOCALDIR ...
I tried the code given by you:

cd $LOCALDIR
ssh $LOGIN@$REMOTESERVER "cd $REMOTEPATH; if [ -a $FILENAME ]; then mv $FILENAME $FILENAME.bak; fi"
scp -r $LOCALDIR$FILENAME...
14,269
Posted By dsa
It's giving error. I used: ssh...
It's giving error. I used:

ssh $LOGIN@$REMOTESERVER "cd $REMOTEPATH; if [ -f $FILENAME ]; then echo "Data file exists" |mv $FILENAME $FILENAME.bkp | mailx -s "File already existed so renamed to...
14,269
Posted By dsa
Can sftp help? Doe sit also overwrite? ...
Can sftp help? Doe sit also overwrite?

---------- Post updated at 02:31 AM ---------- Previous update was at 02:18 AM ----------

Hi spynappels,

can you give me exact code for this? my code...
14,269
Posted By dsa
Avoiding file overwrite during file transfer using scp
Hi,
I have written a small script to transfer a file from one unix server to other using scp command which is working fine. As I know with scp, if any file with the same name is already present on...
1,803
Posted By dsa
Can anybody help me out please?
Can anybody help me out please?
1,803
Posted By dsa
Thanks Raghu, Now how do I check the file...
Thanks Raghu,

Now how do I check the file name like abcJan.txt that it has Jan or Sep?
1,803
Posted By dsa
Hi KRB, Could you please explain...
Hi KRB,

Could you please explain functionality of following commands:

d=`cal $b 2010|head -1`
e=`cal $c 2010|head -1`
f=`echo $d|cut -c1-3`
g=`echo $e|cut -c1-3`

I am sorry but I am new...
1,803
Posted By dsa
File name
Hi,

I have file names with month.txt extension. Like say - abcJan.txt edfFeb.txt.

What I need to do is: I need to read today's month and then check if I have file available for previous two...
Showing results 1 to 15 of 15

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