I've got a directory hierarchy that I need to recurse through and send to the PACS.
I'm a bit confused as to the command line syntax needed to do this.
./storeescu -aet MYAET -aec DESTAET -v +r 192.168.1.1 104 DIRECTORY
the files should match *.dcm
I think I need these two options but the documentation is a little sparse and I'm not clear on their usage.
+sd --scan-directories
scan directories for input files (dcmfile-in)
+sp --scan-pattern [p]attern: string (only with --scan-directories)
pattern for filename matching (wildcards)
Do I simply add +sd +sp *.dcm to the command line?
I've googled for examples but don't find any...
about storescu and recursing directories...
Moderator: Moderator Team
-
- Posts: 56
- Joined: Tue, 2007-08-07, 19:31
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: about storescu and recursing directories...
Correct, but I would add quotation marks around "*.dcm" (in order to avoid that the shell expands the wildcard).Do I simply add +sd +sp *.dcm to the command line?
-
- Posts: 56
- Joined: Tue, 2007-08-07, 19:31
Re: about storescu and recursing directories...
Thanks.. I got brave and did what I thought was right.
I didn't put the quotes around the wild card.. hope i'm not in trouble.. It's been running for an hour.
I have a question about log levels
There are a lot of warnings about
I: Transfer Syntax: LittleEndianExplicit --> LittleEndianExplicit
W: DcmItem: Group Length with VR other than UL found, corrected
DCMDICTPATH="/usr/local/bin/dcmtk-3.6.0-mac-i686-dynamic/share/dcmtk/dicom.dic
I wish I could set the log level such that I get my I: logs but NOT the W: logs....
-ll Info ?
I didn't put the quotes around the wild card.. hope i'm not in trouble.. It's been running for an hour.
I have a question about log levels
There are a lot of warnings about
I: Transfer Syntax: LittleEndianExplicit --> LittleEndianExplicit
W: DcmItem: Group Length with VR other than UL found, corrected
DCMDICTPATH="/usr/local/bin/dcmtk-3.6.0-mac-i686-dynamic/share/dcmtk/dicom.dic
I wish I could set the log level such that I get my I: logs but NOT the W: logs....
-ll Info ?
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: about storescu and recursing directories...
Of course, there is a reason for these warnings (the file is obviously encoded with wrong group length elements). As I already wrote to you in another posting, use an appropriate logger.cfg for a fine-grained configuration of the logger output ...
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest