---
name: "pogrep"
section: "1"
platform: "linux"
package: "translate-toolkit"
version: "3.15.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pogrep"
---

# pogrep(1)

Grep XLIFF, Gettext PO and TMX localization files.

## NAME

pogrep -  Grep XLIFF, Gettext PO and TMX localization files.

## SYNOPSIS

**pogrep** \[**--version**\] \[**-h**\|**--help**\] \[**--manpage**\] \[**--progress** *PROGRESS*\] \[**--errorlevel** *ERRORLEVEL*\] \[**-i**\|**--input**\] *INPUT* \[**-x**\|**--exclude** *EXCLUDE*\] \[**-o**\|**--output**\] *OUTPUT* \[**--search** *SEARCHPARTS*\] \[**-I**\|**--ignore-case**\] \[**-e**\|**--regexp**\] \[**-v**\|**--invert-match**\] \[**--accelerator** *ACCELERATOR*\] \[**-k**\|**--keep-translations**\]

## DESCRIPTION

Matches are output to snippet files of the same type which can then be reviewed and later merged using :doc:\`pomerge \</commands/pomerge\>\`.

See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pogrep.html for examples and usage instructions.

## OPTIONS

- \--version

  show program's version number and exit

- \-h/--help

  show this help message and exit

- \--manpage

  output a manpage based on the help

- \--progress

  show progress as: dots, none, bar, names, verbose

- \--errorlevel

  show errorlevel as: none, message, exception, traceback

- \-i/--input

  read from INPUT in gmo, mo, po, pot, tmx, xlf, xlff, xliff formats

- \-x/--exclude

  exclude names matching EXCLUDE from input paths

- \-o/--output

  write to OUTPUT in gmo, mo, po, pot, tmx, xlf, xlff, xliff formats

- \--search

  searches the given parts (source, target, notes and locations)

- \-I/--ignore-case

  ignore case distinctions

- \-e/--regexp

  use regular expression matching

- \-v/--invert-match

  select non-matching lines

- \--accelerator

  ignores the given accelerator when matching

- \-k/--keep-translations

  always extract units with translations
