<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Yanling,
<div><br>
</div>
<div>as part of the last 5.0.2 release of OMERO, the CLI now supports a new `obj` command [1].</div>
<div>This command allows the creation of containers amongst other things. As an example, the</div>
<div>creation of projects and datasets should now be achievable via</div>
<div><br>
</div>
<div>$ bin/omero obj new Project name=project</div>
<div>$ bin/omero obj new Dataset name=dataset</div>
<div>
<div><br>
</div>
<div>As an aside, we have started working on a script to setup our training material which combines</div>
<div>`bin/omero obj` and `bin/omero import` and may be informative:</div>
<div><a href="https://github.com/openmicroscopy/openmicroscopy/pull/2561/files">https://github.com/openmicroscopy/openmicroscopy/pull/2561/files</a></div>
<div>Note our next step is the extension of the CLI documentation [2] to add some description on this</div>
<div>command and its usage.</div>
<div><br>
</div>
<div>Best,</div>
<div>Sebastien</div>
<div><br>
</div>
<div>
<pre>[1] <a href="http://www.openmicroscopy.org/site/support/omero5/sysadmins/server-webstart-codesigning.html">https://github.com/openmicroscopy/openmicroscopy/pull/2409</a></pre>
<pre>[2] <a href="http://www.openmicroscopy.org/site/support/omero5/users/command-line-interface.html">http://www.openmicroscopy.org/site/support/omero5/users/command-line-interface.html</a></pre>
<pre><br></pre>
<div><br>
</div>
<div>
<div>On 29 May 2014, at 15:50, Yanling Liu &lt;<a href="mailto:vrnova@gmail.com">vrnova@gmail.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello,<br>
<br>
</div>
Is it possible to create new project and dataset in CLI import? <br>
<br>
For example, it would be great if I can use following command to import a set of images to a user while creating new project and dataset on the fly.<br>
<br>
</div>
bin/omero -s localhost -u user import path_to_file -project project_name_or_id -dataset dataset_name_or_id<br>
<br>
</div>
The reason I am asking is because we have 10TB existing images to be imported into OMERO. Create new project and dataset and import images into them would save us a lot of time.<br>
<br>
Thanks,<br>
Yanling<br>
</div>
_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Dr Sébastien Besson</div>
<div>Open Microscopy Environment / Harvard Medical School</div>
<div>Wellcome Trust Centre for Gene Regulation and Expression,</div>
<div>College of Life Sciences, University of Dundee, Dow Street,</div>
<div>Dundee DD1 5EH Scotland UK &nbsp; Tel: (01382) 386364</div>
</div>
</span></div>
</span></span></div>
<br>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>