Scroll to navigation

DICOMFIND(1) User Commands DICOMFIND(1)

NAME

dicomfind - vtk-dicom CLI

DESCRIPTION

usage:

dicomfind [options] <directory> ...

options:

Follow symbolic links (default).
Do not follow symbolic links.
Provide an attribute to be queried and matched.
Provide a file to describe the find query.
Provide a file that contains a list of UIDs.
Set the maximum directory depth.
Set a pattern to match (with "*" or "?").
Restrict the search to files with PixelData.
Find all files in series if even one file matches.
Print the filenames of all matched files (default).
Print the filenames with terminating null, for xargs.
Execute the given command for every series matched.
Execute the given command for every file matched.
Go to directory and execute command on every series.
Go to directory and execute command on every file.

--ignore-dicomdir Ignore the DICOMDIR file even if it is present.

Charset to use if SpecificCharacterSet is missing.
Print a brief help message.
Print the software version.

This command can be used to locate DICOM files. It shares many features with the UNIX "find" command. When searching for files with a specific attribute (with "-k"), the tag can be specified in the form GGGG,EEEE or with its canonical name e.g. Modality=MR from the DICOM dictionary. Alternately, the tags can be listed in a query file given with the "-q" option (one tag per line). Attributes nested within sequences can be specified by giving a tag path e.g. "-k Tag1/Tag2/Tag3". Either a forward slash or a backslash can be used to separate the components of the path. Private tags should be preceded by the private dictionary name in square brackets.

The "-exec" and "-execdir" arguments cause dicomfind to run the specified program on the found files. For example, to dump each file one would use "-exec dicomdump {} \;" where each instance of {} will be replaced by a found file, and ";" indicates the end of the args to dicomdump. Alternately, if "+" is used to end the args, then the program will be run on each DICOM series and {} will be replaced by all files in the series. The "-execdir" argument is similar, except that it runs the program from within the directory of the file (or files), and {} is replaced by just the filenames instead of with the full paths.

AUTHOR

This manual page was written by Mathieu Malaterre <malat@debian.org> for the Debian GNU/Linux system, but may be used by others.

June 2022 dicomfind 0.8.13