Search Results

Search: Posts Made By: sunnykamal59
4,353
Posted By sunnykamal59
Hi Chublar, Thank you!My requirement is to...
Hi Chublar,

Thank you!My requirement is to pick and process the latest file received in past 3 days, which has 'SAMPLE' in position 31 on line 19 and than grep 'GENERIC' in the file and copying it...
4,353
Posted By sunnykamal59
Thank you it worked and successfully created a...
Thank you it worked and successfully created a file.


If we have multiple files in the directory which has text 'S A M P L E' in the files starting at position 31 on line 19 .What will...
4,353
Posted By sunnykamal59
thank you. I ran the whole script . ...
thank you. I ran the whole script .


output in the other file has
"Binary file abc_20171204.052389.dat matches"


Script is not coping the contents that has 'GENERIC' to other file.
4,353
Posted By sunnykamal59
Hopefully this will be my last question . ...
Hopefully this will be my last question .

1)If we have multiple set of files in a folder like below, how we are looping each file for doing comparison?


abc_20171204.052389.dat...
4,353
Posted By sunnykamal59
I agree.Below are the file names we receive in...
I agree.Below are the file names we receive in folder.

Filename in a folder:


abc_20171204.052389.dat
abc_20171204.052428.dat
def_20171204.052440.dat
ghf_20171204.054340.dat


Can you...
4,353
Posted By sunnykamal59
Hi Rudic Thank you for explanation.I understood...
Hi Rudic Thank you for explanation.I understood your logic except the below.

As mentioned We will have multiple files in a folder with different file names we should pick only the files which...
4,353
Posted By sunnykamal59
Thanks for your reply .Can you please please...
Thanks for your reply .Can you please please explain(step by step) in detail?I'm new to scripting.

*When i try to execute MIDNIGHT=$(date -d 0:0 +'%s') the result is '1512363600' . what is this...
4,353
Posted By sunnykamal59
Sorry filenames recieved will have timestamp as...
Sorry filenames recieved will have timestamp as below.

Step1:we will receive multiple files with different time stamps weekly with same name(as below) in a folder.

Filenames:

1)...
4,353
Posted By sunnykamal59
Should pick latest file within past 3 days using UNIX script and perform steps in message below.
Hi ,
Can anyone help me how do perform below requirement in unix.

Step1:we will receive multiple files weekly with same name(as below) in a folder(In folder we will have other files also...
Showing results 1 to 9 of 9

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