Search Results

Search: Posts Made By: pepeli30
2,067
Posted By pepeli30
find file more old
Hi,

How could get the oldest file in a particular format? For example *test*.dat

Thx

Regards.
1,694
Posted By pepeli30
problem with command sftp
Hi,

I am entering this line in a .sh

sftp -b operacionesftp.batch ${USER_FTP_SALIDA}@${FTP_SALIDA}

but it seems to take only "b" and not "-b" may be due to?

Greetings.
18,892
Posted By pepeli30
It seem what we dont hace sshpass in the...
It seem what we dont hace sshpass in the machine...

Thx.
18,892
Posted By pepeli30
Hi, sorry if annoying again. I tried to do...
Hi, sorry if annoying again.

I tried to do the link:

http://wiki.lazos.cl/index.php/Acceso_por_SSH_sin_contrase%C3%B1a

But it seems that on the other machine is windows. You can then do...
18,892
Posted By pepeli30
Hello, reading the various links I've seen that...
Hello, reading the various links I've seen that uses the-b option. I've created a file prueba.batch with the following:

password
get file
quit


And then execute the decision:

sftp-b...
18,892
Posted By pepeli30
Hello, I was looking at the forum but found...
Hello, I was looking at the forum but found nothing clear. I just want to connect to sftp and enter the password automatically. Something like this:


#/ bin / sh
sftp username @ servername <<end...
2,131
Posted By pepeli30
it not would be: export DS_LIB ---> echo...
it not would be: export DS_LIB ---> echo $DS_LIB
18,892
Posted By pepeli30
Script for sftp
Hi,

I need a script that automatically connect to a sftp server and send a file. The problem I have is that it need to enter the password. As you might enter the password automatically so it...
2,015
Posted By pepeli30
check parameters
Hi,

I have a script that takes two parameters. I would check the script to run if these parameters are to null or come with the correct data.


If those parameters are to null, display a...
6,854
Posted By pepeli30
Thx! I will probe that in a few days.
Thx!

I will probe that in a few days.
6,854
Posted By pepeli30
Thx. arg1 arg2 <--- This is obligatory ?...
Thx.

arg1 arg2 <--- This is obligatory ? the script not use args.
6,854
Posted By pepeli30
In principle I think not. Thx
In principle I think not.
Thx
6,854
Posted By pepeli30
Run process with nohup every certain time
Hi,

I need execute a script every 30 minutes. As might be done without using cron

Thx.
3,620
Posted By pepeli30
Thanks, I'll try that solution Greetings
Thanks, I'll try that solution

Greetings
3,620
Posted By pepeli30
Zip file with specific name
Hi,

How could compress a file with a specific name. For example if I put the following:

gzip -f file.dat


I compressed it with the same file name to compress, "file.dat.gz". How could...
4,155
Posted By pepeli30
Thanks, Already solved it.
Thanks, Already solved it.
4,155
Posted By pepeli30
Thanks, With that solves that error code....
Thanks,

With that solves that error code. But later I find the following code:

if (( NF != configuracion [sistema"_"producto"_CAMPOS"] ) && ( exit=="0" ))
{
printf "El número de campos...
4,155
Posted By pepeli30
nawk: syntax error at source line 11
Hi,
I executing a awk in a shell script. A part of AWK is:

nawk -F"¤" -v fichero=${DIRECTORIO_PARAMETROS}/${FICHERO_CONFIGURACION_CHEQUEOS} -v sistema=${SISTEMA_SEDRA} -v...
2,774
Posted By pepeli30
Hi, I have a text with lines in this...
Hi,

I have a text with lines in this format:

BTSOSP¤FTSP001¤PARC¤OSP_ELRCOD¤CLMB5802¤1¤OSP_ELRSI¤AB5802/Albacete/ALBACETE/ALBACETE/02005¤0¤OSP_ELRMOD¤Ericsson/RBS 3418 - - ¤0¤<ATR>¤ON...
2,774
Posted By pepeli30
Awk inside Awk expression
Hi,

It can be used awk inside other Awk?. I need to get another text processing while other text process.

Thank you.
Showing results 1 to 20 of 20

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