-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meaning of the -z flag #4
Comments
yes - gzip or zip. The whole folder tree would be created as without the -z, then as a final pass all files (lowest level, without involving any folders) would be compressed.
with -z:
|
Makes sense - let's do .zip then - it's probably the most widely supported format (windows and mac in explorer/finder). |
After looking at this a bit, I'm going to suggest we do it a little differently to remove a layer of directory. Suppose you had something like: %PatientName/%StudyDate/%SeriesDescription-%InstanceNumber.dcm to get files like: doejohn/2013-04-26/FLAIR-1.dcm rather than creating a zip like this: doejohn/2013-04-26/FLAIR.zip I say we should make a file like this: doejohn/2013-04-26.zip The advantage of this is that we don't need to define the format of the zip file name (how do we know to drop the InstanceNumber? It would need to be an extra command line argument, which would be awkward.) |
Zip file is created to replace lowest directory level and sorted files.
Is the goal of -z to run gzip compression on the files when putting them in the target directory?
The text was updated successfully, but these errors were encountered: