# HG changeset patch # User Sebastien Jodogne # Date 1620394460 -7200 # Node ID ca814560dcb87e70b2cce9e7fc4de34eaaeaa8a8 # Parent efc39728af20935fe7bce5436244e12c485bb2c1 link to OrthancImport.py diff -r efc39728af20 -r ca814560dcb8 Sphinx/source/users/rest.rst --- a/Sphinx/source/users/rest.rst Fri May 07 12:25:39 2021 +0200 +++ b/Sphinx/source/users/rest.rst Fri May 07 15:34:20 2021 +0200 @@ -94,12 +94,20 @@ $ curl -X POST -H "Expect:" http://localhost:8042/instances --data-binary @CT.X.1.2.276.0.7230010.dcm The code distribution of Orthanc contains a `sample Python script -`__ +`__ that recursively upload the content of some folder into Orthanc using the REST API:: $ python ImportDicomFiles.py localhost 8042 ~/DICOM/ +Starting with Orthanc 1.8.1, the source distribution of Orthanc +includes another Python script named ``OrthancImport.py`` that +provides more features than ``ImportDicomFiles.py``. It can notably +import the content of ``.zip``, ``.tar.gz`` or ``.tar.bz2`` archives +without having to uncompress them first. It also provides more +comprehensive command-line options. `Check this script out +`__. + .. highlight:: perl