EnglishFrenchSpanish

Ad


OnWorks favicon

exifgrep - Online in the Cloud

Run exifgrep in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command exifgrep that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


exifgrep - select and reformat the output of exifprobe

SYNOPSIS


exifgrep [options] [egrep_options] egrep_pattern [NOT egrep-pattern] filename(s)

DESCRIPTION


Exifgrep is a shell script which applies egrep(1) to the output of exifprobe -L,
permitting easy selection and minor reformatting of output items.

exifprobe is small, fast, and utterly sycophantic in its desire to report everything it
finds in an image. exifgrep applies the regular expression matching capabilities of egrep
to the output barrage to extract only wanted information.

exifgrep also performs a mild form of selection on the output fields of exifprobe -L.
Many items reported by exifprobe are represented in the image file by a number which
compactly represents a defined value.

E.g. exifprobe -L may report

TIFF.Ifd1.ResolutionUnit = 2 = 'pixels per inch'

where the value “2” must be interpreted to mean that resolution values
(TIFF.IFd1.Xresolution and IFF.IFd1.YResolution) are recorded in pixels per inch, rather
than, say, pixels per centimeter. exifprobe reports both fields; exifprobe may also
report interpreted values for items which are recorded in unfamiliar units, such as

JPEG.APP1.Ifd0.Exif.FNumber = 5.6 APEX = 'f7.0'

In all such cases, exifgrep reports (by default) only the "human readable" field:

TIFF.Ifd1.ResolutionUnit = 'pixels per inch'
JPEG.APP1.Ifd0.Exif.FNumber = 'f7.0'

unless the "-num" option is given to select the numerical value.

In addition, a `variable' format may be selected ("-var") which eliminates whitespace,
providing a format which typical shells may use directly to set variables for further
processing. E.g.

TIFF.Ifd1.ResolutionUnit='pixels per inch'
JPEG.APP1.Ifd0.Exif.FNumber='f7.0'

OPTIONS


-r file arguments may be directories, which will be searched via find for all image
types recognized by exifprobe.

-n force exifprobe to print a filename for each line of its output, which exifgrep
will turn into a comment at the end of each matching line.

-t force exifprobe to print tag numbers for all itemes that have them, so that
matches may be made on hex or decimal tag numbers.

-c turn on color output from exifprobe

-h print a usage message (help)

-var report in "variable" format, which may be directly `sourced' by any Bourne-
compatible shell (except that most shells will insist that the dots must be
replaced, e.g. by underscores).

-export report in "variable" format, but with a Bourne-compatible export command

-num report numerical values rather than interpreted strings, for fields which have
both.

NOTE: the -var and -export options are obsolescent; they are retained for compatibility
with earlier versions of exifprobe. A post-processor such as reformat.sh may be more
effective for the current version if shell-compatible output is desired.

Any option not recognized by the script will be passed on to egrep.

The first non-option argument will be used as the pattern passed to egrep. This may be
followed by the keyword NOT and an expression representing matches to be rejected. This
pattern will be passed to egrep -v. Only one argument of each type may be given, and the
"accept" expression (if given) must appear before the "reject" expression.

All remaining arguments are interpreted as image filenames.

Use exifgrep online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad