10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
In the file names we have dates.
Based on the file format given by the user,
if any file is not existed for a particular date with in a given interval we should consider that file is missing.
I have the below files in the directory /bin/daily/voda_files.
... (9 Replies)
Discussion started by: nalu
9 Replies
2. Shell Programming and Scripting
Hey guys,
I want the below files to be processed with the help of BASH so that i will be able to find the missing file names :
PP01674520141228X.gz
PP01674620141228X.gz
PP01674820141228X.gz
PP01674920141228X.gz
PP01675420141228X.gz
PP01675520141228X.gz
PP01676020141228X.gz
.
.
.
.... (4 Replies)
Discussion started by: TANUJ
4 Replies
3. Shell Programming and Scripting
Hi all,
Need an urgent help on the below scenario.
script:
awk -F","
'BEGIN { #some variable assignment}
{ #some calculation and put values in array}
END {
year=#getting it from array and assume this will be 2014
month=#getting it from array and this will be 05
date=#... (7 Replies)
Discussion started by: vijaidhas
7 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
i will be getting 24 files for one day with a formate like 20131028_01 - 20131028_24 kind of ,i am trying to write a shell script to count the number of files and if the count is not equal to 24 print the missing files names
for A in `seq 0 23`; do ls *20131024_`printf "%02d" $A`*;... (3 Replies)
Discussion started by: vikatakavi
3 Replies
5. Shell Programming and Scripting
Hi,
I would like to ask if there is a way to search for a file inside a .tar.gz file without extracting it? If there is, is there a way to search for that file by date?
Thanks! (4 Replies)
Discussion started by: erin00
4 Replies
6. Shell Programming and Scripting
Hello,
Iam a newbies to Shell scripting. Iam trying to replace the date inside the file to new date. is there anyway that we can just use the pattern to search as "..." I have many files want to replace with the same date, and each file contains different date.
Thanks for your help.
... (2 Replies)
Discussion started by: Daro
2 Replies
7. Shell Programming and Scripting
In KSH, I am pasting 2 almost identical files together and each one has a date and time on each line. I need to determine if the first instance of the date/time is greater than the 2nd instance of the date/time. If the first instance is greater, I just need to echo that line.
I thought I would... (4 Replies)
Discussion started by: right_coaster
4 Replies
8. Shell Programming and Scripting
Hi guys
I've got a file with this line inside.
200,2010,318,1000,4.377,70.9,.835,.592,.243,-.438,0,881
The line always begins with number 100 or number 200, follow the year, the day in the year, the hour, and other stuff
Here, the important fields are, 2, 3 and 4.
-Filed 2 --> year... (4 Replies)
Discussion started by: iga3725
4 Replies
9. Shell Programming and Scripting
Hi All,
I wanted to edit the date value located at /var/opt/CPsuite-R65/fw1/conf/local.scv. The date entry looks like this :
:Signature (">=20100717")
How can I update the date value by 1 day every other day while preserving the margins of the whole file in a shell script? I have... (5 Replies)
Discussion started by: achillesxv
5 Replies
10. UNIX for Dummies Questions & Answers
Hi,
this is the problem i'm facing i need a check some file having some word like gzip or tar ,the way i normally do is
grep gzip filenamethe thing is that i had some 1000 files to be checked is that the only way or can i customize it by some script ,i know there is some way ,but i need some... (4 Replies)
Discussion started by: malickhat
4 Replies