Skip to content

๐Ÿ“‚ CLI tool that relocates DICOM files according to a specified file pattern, with support for DICOM tags inside the files.

License

Notifications You must be signed in to change notification settings

amoerie/dcmorganize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

70 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“‚ DICOM ORGANIZE

Build Status Nuget (with prereleases)

Organizes DICOM files on your disk.

Installation

    dotnet tool install dcmorganize --global

Usage

    dcmorganize file1.dcm file2.dcm file3.dcm

or using piped input

    dcmfind | dcmorganize

See https://github.com/amoerie/dcmfind

Parameters

  files pos. 0               Required. (Default: .) Organize these DICOM files. When missing, this option will be read from the piped input.
  
  -t, --targetDirectory      (Default: .) Organize DICOM files in this directory

  -f, --targetFilePattern    (Default: {PatientName}/{AccessionNumber}/{SeriesNumber}/{InstanceNumber ?? SOPInstanceUID} - {Guid}.dcm) Write DICOM files using this pattern. DICOM tags are supported. Fallback
                             for missing DICOM tags are supported. Nested directories will be created on demand.

  -a, --targetFileAction     (Default: Move) Action to execute for each file

  -p, --parallelism          (Default: 8) Process this many files in parallel

  --help                     Display this help screen.

  --version                  Display version information.

About

๐Ÿ“‚ CLI tool that relocates DICOM files according to a specified file pattern, with support for DICOM tags inside the files.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published