Search Results

Search: Posts Made By: arrals_vl
2,316
Posted By arrals_vl
Thank you your replies. If i edit ...
Thank you your replies.

If i edit

UploadFile=$1
ServerSftp=$2
echo put $UploadFile > /tmp/batch-sftp$$.log
# Send the file throught SFTP as Batch
sftp -b /tmp/batch-sftp$$.log $ServerSftp...
2,316
Posted By arrals_vl
Dear all, Please any help on this?
Dear all,

Please any help on this?
2,316
Posted By arrals_vl
Dear Rudic, thank you, i will try it. ...
Dear Rudic, thank you, i will try it.

@Chubler_XL Chubler_XL Thank you. Not, i can wrapped it into 1 shell script.
2,316
Posted By arrals_vl
Thank you for replying! Please, would you help...
Thank you for replying!
Please, would you help me on editing this script?
2,316
Posted By arrals_vl
Improve sftp script
Dear all,

I have written two scripts to transfer files to another server outside the company.
One is a batch script , and the other script calls the batch script, send the files and archive the...
785
Posted By arrals_vl
Yes, the time changed on 26 October. But also the...
Yes, the time changed on 26 October. But also the time of server has changed.
785
Posted By arrals_vl
Mtime issue
Dear all,

i am trying to find all files created one day before, for example 26 October, and i am using this command:

find . -type f -daystart -mtime 1

This command in fact lists all files...
1,431
Posted By arrals_vl
Check if files inside a text file are found under a directory
Hi all,

Please somebody help me with this:

I want to check if the files listed in a text file, are found under a directory or not.

For example: the file is list_of_files.txt, which contains...
2,160
Posted By arrals_vl
Thank you very much for your help. All the...
Thank you very much for your help.
All the three above solutions worked very well.

Thank you again!
2,160
Posted By arrals_vl
Hi, thank you a lot for your help! With...
Hi,

thank you a lot for your help!
With the examples i have posted, this is working OK!

But, in fact the files do not have this pattern, OOOAAAALOGS etc...

BUT: OOOABCDELOGSXXXXXX.txt
...
2,160
Posted By arrals_vl
Thank you a lot for your support, but this doesnt...
Thank you a lot for your support, but this doesnt show anything.
I tried to modify it, but nothing :(

---------- Post updated at 08:16 AM ---------- Previous update was at 03:00 AM ----------
...
2,160
Posted By arrals_vl
Dear Scrutinizer...
Dear Scrutinizer (https://www.unix.com/members/302052697.html)

thanks for replying.

But it doesnt show up the missing sequences as it should.
For the logs below, for AAAA, no sequence is...
2,160
Posted By arrals_vl
Hi, Thank you for you reply. I have...
Hi,

Thank you for you reply.
I have tested this, but still it doesn't do what i want.

Please, anybody who can help me with this?

Thank you o lot!
2,160
Posted By arrals_vl
Missing sequences in filenames
Hi,

Please would anybody help find the missing sequences in the filename of the files?
I have for example these files:

OOOAAAALOGS400001.txt
OOOAAAALOGS400002.txt
OOOAAAALOGS400003.txt...
1,872
Posted By arrals_vl
Thank you bakunin for your suggestions. I was...
Thank you bakunin for your suggestions.
I was reading about LZMA...does any body knows how to use this option and how it will affect the time of my script?

About the TIME command prefix, these...
1,872
Posted By arrals_vl
Yes, i know that 7z takes much time to compress,...
Yes, i know that 7z takes much time to compress, but i also want a very good compression.
could please give me any ideas for 7z setting, how to use them?
Or maybe an idea how to organize better my...
1,872
Posted By arrals_vl
Ok, i will post result with TIME prefix, but it...
Ok, i will post result with TIME prefix, but it will take much time for the script to be executed, approximately 2 hours :(
Maybe any prior suggestions...i see that 7z archiving takes much time..
1,872
Posted By arrals_vl
Help to reduce time of archiving
hi all,

i have written the following script that does this work:
1. copy large logs files from one server to another.
2. then unzip this files and extraxt from these large https logs only those...
1,548
Posted By arrals_vl
Thank you very much!! This solutions :...
Thank you very much!!

This solutions : m/\s*p\s*6\s*0/ worked perfectly!!

Thank you!!!
1,548
Posted By arrals_vl
thank you, but it doesnt work. it count 0 of p60...
thank you, but it doesnt work. it count 0 of p60 :(
1,548
Posted By arrals_vl
thank you replying! but i want to count p60...
thank you replying!

but i want to count p60 even if it is written like this "p[][][][][][][][][][][][][]60" or "[][][][][][][][][][][][][][][]p[][][][][][[]60 [][][][][][][][]". I mean every white...
1,548
Posted By arrals_vl
Perl match pattern
Hi all,

i have a peice of Perl script like this:
foreach (@line) {
@tmp = split /;/,$_;
#print "Line is: $_\n";
switch($tmp[3]){
...
1,104
Posted By arrals_vl
Can you write it in perl please?
Can you write it in perl please?
1,104
Posted By arrals_vl
Hi, thank you for your reply. I want to write a...
Hi, thank you for your reply.
I want to write a little script for this purpose.
Better is in perl, but also with awk is ok.

Thank you in advance!

---------- Post updated at 04:40 AM...
1,104
Posted By arrals_vl
check file script
hi,

i have a small file with 4 rows that looks like this:

any_error_today=
any_message_today=
any_other_thing=
any_other _thing=

I want to write a script that checks if after any =...
Showing results 1 to 25 of 53

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