The gzip compression in mlcp is actually a gzip of a tar. A tar file is 
uncompressed, and is normally compressed with gzip (or with bzip sometimes). If 
you have a plain old (uncompressed) tar file, you should just be able to gzip 
it and load using that option.

On 23/10/2015 22:39, Dave Cassel wrote:
MLCP has a parameter for -input_compression_codec, but it looks like the 
accepted values are zip and gzip, no tar. I think your best bet would be script 
untarring the files, then MLCP'ing them into MarkLogic.

--
Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/


From: 
<<mailto:general-boun...@developer.marklogic.com>general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of "Morales-Martin, Kristina" 
<<mailto:kmorales-mar...@cas.org>kmorales-mar...@cas.org<mailto:kmorales-mar...@cas.org>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Friday, October 23, 2015 at 2:02 PM
To: 
"'<mailto:%27gene...@developer.marklogic.com>general@developer.marklogic.com<mailto:general@developer.marklogic.com>'"
 <general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] mclp support for tar files?

Dear all,

I am interested in pumping content that we get as tar files.
Is there any option/flag available provided by mlcp that can support this 
format?

I am currently using –input_compressed=true to pump directories of zip files 
and it works just fine.

Thank you for your help.
Kristina Morales-Martin
Sr. Technical Information Specialist, e-Content Operations
CAS, a division of the American Chemical Society
2540 Olentangy River Road
Columbus, OH 43202
Phone: 614-447-3600, ext. 2322
Fax: 614-447-3827
www.cas.org<http://www.cas.org/>


Confidentiality Notice: This electronic message transmission, including any 
attachment(s), may contain confidential, proprietary, or privileged information 
from Chemical Abstracts Service (“CAS”), a division of the American Chemical 
Society (“ACS”). If you have received this transmission in error, be advised 
that any disclosure, copying, distribution, or use of the contents of this 
information is strictly prohibited. Please destroy all copies of the message 
and contact the sender immediately by either replying to this message or 
calling 614-447-3600.



_______________________________________________
General mailing list
General@developer.marklogic.com<mailto:General@developer.marklogic.com>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general




--
John Snelson, Lead Engineer                    http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to