.TH "gdcmscanner" 1 "Tue Feb 5 2013" "Version 2.2.0" "GDCM" \" -*- nroff -*- .ad l .nh .SH NAME gdcmscanner \- Scan a directory containing DICOM files\&. .SH "SYNOPSIS" .PP .PP .nf gdcmscanner [options] directory .fi .PP .SH "DESCRIPTION" .PP The \fBgdcmscanner\fP is a command line tool to quickly extract value from a set of DICOM attribute in a DICOM File-Set\&. .SS "PARAMETERS" .PP .nf -d --dir DICOM directory -t --tag %d,%d DICOM tag(s) to look for .fi .PP .SS "options" .PP .nf -p --print Print output. -r --recursive Recusively descend directory. .fi .PP .SS "general options" .PP .nf -h --help print this help text and exit -v --version print version information and exit -V --verbose verbose mode (warning+error). -W --warning warning mode, print warning information -E --error error mode, print error information -D --debug debug mode, print debug information .fi .PP .SH "Typical usage" .PP .SH "Simple usage" .PP In order to display all the value for Patient Name (0010,0010) in the directory name \fBgdcmData\fP, simply do: .PP .PP .nf $ gdcmscanner -t 10,10 -d gdcmData -p .fi .PP .SH "Complex usage" .PP Because gdcmscanner does not support progress, you have to wait until all files are traversed to see any results\&. This is quite cumbersome, on UNIX this can be worked around with the following trick: .PP .PP .nf $ find gdcmData -type d -exec gdcmscanner -t 10,10 -d {} -p \; .fi .PP .PP So all directory are locally traversed (no child directory are recursively traversed), which means results comes out much faster\&. .SH "SEE ALSO" .PP \fBgdcmdump\fP(1), \fBgdcmraw\fP(1) .SH "COPYRIGHT" .PP Copyright (c) 2006-2011 Mathieu Malaterre