Sponsored Content
Full Discussion: Find missing sequence
Top Forums Shell Programming and Scripting Find missing sequence Post 302879802 by jim mcnamara on Sunday 15th of December 2013 12:36:10 PM
Old 12-15-2013
This is vague - we need a simple example. input; expected output.

1. is the "list" a file or do you have to create it? If already there is the the file accurate?
2. So when the list is available you simply go to the directory and check all the files in the list and note the missing ones, or do you look for gaps like: 1001 1002 1004 1005 (1003 is missing). So are we working against directory contents or the file -- or both?
 

10 More Discussions You Might Find Interesting

1. Programming

find the missing sequence in hash perl

Dear Perl's Users, Could anyone help me how to solve my problem. I have data with details below. TTY NAME SEQUENCES U-0 UNIX 0 U-1 UNIX 1 U-2 UNIX 2 <-- From 2 jump to 5 U-5 UNIX 5 U-6 UNIX 6 <-- From 6 jump to 20 U-20 ... (2 Replies)
Discussion started by: askari
2 Replies

2. Shell Programming and Scripting

print out missing files in a sequence

Hello all, I have several directories with a sequence of files like this IM-0001-0001.dcm IM-0001-0002.dcm IM-0001-0003.dcm IM-0001-0004.dcm IM-0001-0005.dcm I would like to print out the name of the file that is missing. I currently have the following ineffecient way to do this... (4 Replies)
Discussion started by: avatar_007
4 Replies

3. Shell Programming and Scripting

How to take the missing sequence Number?

Am using unix aix KSH... I have the files called MMRR0106.DAT MMRR0206.DAT MMRR0406.DAT MMRR0506.DAT MMRR0806.DAT .... ... MMRR3006.DAT MMRR0207.DAT These files are in one dircetory /venky ? I want the output like this ? Missing files are : MMRR0306.DAT MMRR0606.DAT... (7 Replies)
Discussion started by: Venkatesh1
7 Replies

4. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies

5. Shell Programming and Scripting

How to check missing sequence?

I want to listed files every hours and check the missing sequence my file format is CV.020220131430.txt CV.020220131440.txt CV.020220131450.txt CV.ddmmyyhhm.txt how to check if i have missing files in sequence .. thanks (3 Replies)
Discussion started by: before4
3 Replies

6. Shell Programming and Scripting

Case script to get missing sequence among files

I want to use case statement to find the range of missing sequence in my directory which it has some few ( dat & DAT ) files my directory /home/arm/my_folder/20130428 contains : f01_201304280000.DAT f01_201304280001.DAT f01_201304280003.DAT f02_201304280000.dat f02_201304280002.dat... (2 Replies)
Discussion started by: arm
2 Replies

7. Shell Programming and Scripting

Identifying Missing File Sequence

Hi, I have a file which contains few columns and the first column has the file names, and I would like to identify the missing file sequence number form the file and would copy to another file. My files has data in below format. APKRISPSIN320131231201319_0983,1,54,125,... (5 Replies)
Discussion started by: rramkrishnas
5 Replies

8. Shell Programming and Scripting

Find the missing sequence

Dear all i am having file with max 24 entries. i want to find which sequence is missing file is like this df00231587.dat df01231587.dat df03231587.dat df05231587.dat . . . df23231587.dat the changing seq is 00-23,so i would like to find out which seq is missing like in above... (13 Replies)
Discussion started by: sagar_1986
13 Replies

9. Shell Programming and Scripting

How to find a missing file sequence using shell 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

10. Shell Programming and Scripting

To check the missing file based on sequence number.

Hi All, I have a requirement that i need to list only the missing sequences with a unix script. For Example: Input: FILE_001.txt FILE_002.txt FILE_005.txt FILE_006.txt FILE_008.txt FILE_009.txt FILE_010.txt FILE_014.txt Output: FILE_003.txt FILE_004.txt FILE_007.txt FILE_011.txt... (5 Replies)
Discussion started by: Arun1992
5 Replies
DH_MISSING(1)							     Debhelper							     DH_MISSING(1)

NAME
       dh_missing - check for missing files

SYNOPSIS
       dh_missing [-Xitem] [--sourcedir=dir] [debhelperoptions]

DESCRIPTION
       dh_missing compares the list of installed files with the files in the source directory. If any of the files (and symlinks) in the source
       directory were not installed to somewhere, it will warn on stderr about that (--list-missing) or fail (--fail-missing).	Please note that
       without either of these options, dh_missing will silently do nothing.

       This may be useful if you have a large package and want to make sure that you don't miss installing newly added files in new upstream
       releases.

       Remember to test different kinds of builds (dpkg-buildpackage -A/-B/...) as you may experience varying results when only a subset of the
       packages are built.

FILES
       debian/not-installed
	   List the files that are deliberately not installed in any binary package.  Paths listed in this file are ignored by dh_missing.
	   However, it is not a method to exclude files from being installed by any of the debhelper tool.  If you want a tool to not install a
	   given file, please use its --exclude option (where available).

	   dh_missing will expand wildcards in this file (since debhelper 11.1).  Wildcards without matches will be ignored.

OPTIONS
       --list-missing
	   Warn on stderr about source files not installed to somewhere.

	   Note that files that are excluded from being moved via the -X option are not warned about.

	   This is the default in compat 12 and later.

       --fail-missing
	   This option is like --list-missing, except if a file was missed, it will not only list the missing files, but also fail with a nonzero
	   exit code.

SEE ALSO
       debhelper(7)

       This program is a part of debhelper.

AUTHOR
       Michael Stapelberg <stapelberg@debian.org>

11.1.6ubuntu2							    2018-05-10							     DH_MISSING(1)
All times are GMT -4. The time now is 05:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy