How to take the missing files


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to take the missing files
# 1  
Old 07-25-2012
MySQL How to take the missing files

Hi all ,
am using unix ksh
I have a lots of files in /prb directory in the format as ..
..
..
..
MMRR0607.DAT_2012
MMRR0707.DAT_2012
MMRR0907.DAT_2012
MMRR1107.DAT_2012
...
..
MMRR3107.DAT_2012
MMRR0208.DAT_2012
..
I need the output as
Missing files are:-
MMRR0807.DAT_2012 (note 0807 refer date 08 month 07)
MMRR1007.DAT_2012
MMRR0108.DAT_2012

Can anybody know the solutions help me...
# 2  
Old 07-25-2012
You have had this already discussed!!

Why again??
# 3  
Old 07-25-2012
continue here....

https://www.unix.com/shell-programmin...ce-number.html

what you tried so far ?
# 4  
Old 07-25-2012
thanks pikk45 for reply ..
i didnt get the outputs so far ....
# 5  
Old 07-25-2012
Are you even trying anything on ur own??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get the missing dependency from two files

#cat hwlock-full.dep libx11-6 >= 1.4.4 libz1 >= 1.2.7 libtinfo5 >= 5.9 libxcb1 >= 1.8.1 numactl >= 2.0.8+rc4 libpixman-1-0 >= 0.29.2 libxml2 >= 2.7.8 libxext6 >= 1.3.1 libxrender1 >= 0.9.7 libfreetype6 >= 2.4.9 libxcb-render0 >= 1.8.1 libcairo2 >= 1.12.14 libc6 >= 2.15 libxcb-shm0... (7 Replies)
Discussion started by: yanglei_fage
7 Replies

2. Shell Programming and Scripting

How to takes the missing files?

Hi all , am using unix aix I have a files in one directory.. my files as in format qqss0607.ddd.. (06 is date 07 is month) how to check the missing dates .... can anyone tell me... (9 Replies)
Discussion started by: Venkatesh1
9 Replies

3. Shell Programming and Scripting

Report missing files

Hello I need to check various directories for the existence of files. If a file or more are missing I need to display it: e.g files in a dir: data_file.11032300.Z data_file.11032301.Z data_file.11032302.Z data_file.11032303.Z data_file.11032304.Z data_file.11032305.Z... (11 Replies)
Discussion started by: drbiloukos
11 Replies

4. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

5. Shell Programming and Scripting

echo and then cp the missing files

Hi.... I have two files abc.txt and xyz.txt. I want to echo and copy files from abc.txt to xyz.txt, which are not in xyz but present in abc.txt. Both of these files are in same directory. Please provide code with while or for loop.... :) (3 Replies)
Discussion started by: tushar_tus
3 Replies

6. Shell Programming and Scripting

echo missing files.

Hi.... I have two directories, A and B. Files are rcp`d from A to B, but some of the files are missing. files in A are in sequence from "2008111406796.zteasn.norm.gz" to "2008111407415.zteasn.norm.gz" In B directory 27 files are missing, i want to echo those files which are missing, so that... (1 Reply)
Discussion started by: tushar_tus
1 Replies

7. AIX

how to find missing files

Hi on friday one user from peoplesoft lost his file. mean he don't know he saved it or removed it. but, he need the file and it is most valuable. so i searched the file in the server, i got the some with same name on /peoplesoft/..../print directory. is these two are the same one or... (1 Reply)
Discussion started by: honeym210
1 Replies

8. Shell Programming and Scripting

how to check missing files?

I have 50 files in this directory (/home/unixnewbie/wklyfiles) namely: statistics.1 statistics.2 statistics.3 statistics.4 statistics.5 statistics.6 statistics.7 statistics.8 statistics.9 statistics.10 .... statistics.20 .... statistics.50 How can i determine if ever there will be... (7 Replies)
Discussion started by: gholdbhurg
7 Replies

9. UNIX for Dummies Questions & Answers

Missing Library Files

Can anyone send me copies via email or allow me to download the following files for Unix 4.0? libmsfs.so libfilsys.so These files were lost due to corruption. All the other library files are fine. I have the files on tape, but without libmsfs.so I am unable to open vrestore. I am open... (5 Replies)
Discussion started by: jays337
5 Replies

10. UNIX for Dummies Questions & Answers

files missing

a few of some live payroll files have been deleted / missing ... i've restored last nites backup ... what could be the possibilities of this strange occurance ... users have menus to work on and use these live files ... we run an aix box with a ksh shell. Where do I start ?? Thanks (4 Replies)
Discussion started by: cubicle^dweller
4 Replies
Login or Register to Ask a Question