The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

sort_dcm.pl

Reads dicom files from a zip file or directory, extracts Series, Study, and Instance Number as well as series description and properly renames them.

Call with sort_dcms.pl < zip | directory > [ target ] [copy_flag]

Default is to move (rename) the file to its new location, set copy_flag if you want to copy instead.