10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have the following reports that get generated every 1 hour and this is my requirement:
1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"
"Report.Dddmmyy.Thhmiss.CCCD"... (1 Reply)
Discussion started by: Jesshelle David
2. Shell Programming and Scripting
I want to extract dates from the files and i have different types of files with pattern. I have list file with the patterns and want to date extract based on it in a sh script
Files in the directory :
list file with... (2 Replies)
Discussion started by: lijjumathew
3. Shell Programming and Scripting
I need to find all files in a directory which are containing specific pattern. Thing is that file name should not consider if pattern is only in commented area.
all contents which are under /* */ are commented
all lines which are starting with -- or if -- is a part of some sentence... (13 Replies)
Discussion started by: Lakshman_Gupta
4. Shell Programming and Scripting
I am trying to loop through a directory of files using a given search pattern. some of the files will be duplicated due to the pattern, but of the duplicate files i wanted to move the older files to another location.
Is there any straightforward way of doing this ?
One of ways I... (1 Reply)
Discussion started by: sthapa
5. Shell Programming and Scripting
I have 3 files that contain the following information (sql output from Oracle database stored in a txt file):
alter table "SYS"."INT_COST_PRICE" enable row movement;
alter table "SYS"."INT_SOH" enable row movement;
alter table "SYSMAN"."XX_ACI_SKURTP" enable row movement;... (6 Replies)
Discussion started by: rparavastu
6. UNIX for Dummies Questions & Answers
I have a Huge 7 GB file which has around 1 million records, i want to split this file into 4 files to contain around 250k messages each.
Please help me as Split command cannot work here as it might miss tags..
Format of the file is as below
<!--###### ###### START-->... (6 Replies)
Discussion started by: KishM
7. Shell Programming and Scripting
I need to find and list the last 5 days files in that exact name with "MIM" and copy to another directory.
please help me in this there is around 30000 files
Murali (7 Replies)
Discussion started by: 969murali@gmail
8. UNIX for Advanced & Expert Users
I want to search for a particular file name patterns and move them to a specific folder, is it possible to do it with awk or sed? (1 Reply)
Discussion started by: rudoraj
9. UNIX for Dummies Questions & Answers
I have a text file with a list of items/patterns:
ConsensusfromCGX_alldays_trimmedcollapsedfilteredreadscontiglist(229095contigs)contig34624... (1 Reply)
Discussion started by: Oyster
10. Shell Programming and Scripting
Please help me to find or remove files based on position based search pattern.
From the above files, I like to delete the files that have "eee"... (1 Reply)
Discussion started by: kumarn
IGREP(1) General Commands Manual IGREP(1)
igrep - search images for matching metadata
igrep [options] pattern files...
The igrep utility is invoked as follows:
igrep [options] pattern filename...
Where pattern is a POSIX.2 regular expression (just like the Unix/Linux grep(1) command), and filename (and any following names) specify
images or directories that should be searched. An image file will "match" if any of its metadata contains values contain substring that are
recognized regular expression. The image files may be of any format recognized by OpenImageIO (i.e., for which ImageInput plugins are
$ igrep Jack *.jpg
bar.jpg: Keywords = Carly; Jack
foo.jpg: Keywords = Jack
test7.jpg: ImageDescription = Jack on vacation
For a complete description, see /usr/share/doc/libopenimageio-dev/openimageio.pdf.gz.
--help Print help message
-i Ignore upper/lower case distinctions
-v Invert match (select non-matching files)
-E Pattern is an extended regular expression
-f Match against file name as well as metadata
-l List the matching files (no detail)
-r Recurse into directories
-d Print directories (when recursive)
-a Search all subimages of each file
iconvert(1), idiff(1), iinfo(1), iprocess(1), iv(1), maketx(1), oiiotool(1).
OpenImageIO was written by Larry Gritz and the other authors and contributors.
This manual page was written by IRIE Shinsuke <email@example.com>, for the Debian project (and may be used by others).
May 19, 2012 IGREP(1)