Search Results

Search: Posts Made By: appsdba.nitin
3,782
Posted By appsdba.nitin
bash-2.05# for i in *.dbf do ...
bash-2.05# for i in *.dbf
do
/usr/local/gpg2/bin/GPG2 -o $i -d $i.gpg
done

usage: gpg [options] --decrypt [filename]


it need the file name correctly
3,782
Posted By appsdba.nitin
i am not sure how will this work. i could do...
i am not sure how will this work.

i could do something like

for i in `ls -l ./*.dbf | grep -v "^gpg"' `
do
/usr/local/gpg2/bin/GPG2 -o $i -d *.gpg
done


but when i run this i get...
3,782
Posted By appsdba.nitin
a script with a for loop
Hi Gurus

I have to write a script which does something like this

/usr/local/gpg2/bin/GPG2 -o arch_696354351_1_23.dbf -d arch_696354351_1_23.dbf.gpg
/usr/local/gpg2/bin/GPG2 -o...
1,971
Posted By appsdba.nitin
Thanks man !!
Thanks man !!
1,971
Posted By appsdba.nitin
Please explain this
if [ $# != 3 ]
then
echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"
exit
fi



if [ $# != 3 ]--------------what does this mean???
echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"---pls explain...
Showing results 1 to 5 of 5

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