11/15/2023 0 Comments Export file list to text command line![]() ![]() Set -copy_collections to false to exclude document collections metadata.If you want to exclude some or all document metadata from the archive:. ![]() For details, see Filtering Archive and Copy Contents. To export database content to an archive file with mlcp: You can use the mlcp import command to copy the archive to another database or restore database contents. Use the mlcp export command with an output type of archive to create a database archive that includes content and metadata. output_file_path /space/examples/export -compress true $ ls /space/examples/export # Windows users, see Modifying the Example Commands for Windows The following example exports all the documents in the database to the directory /space/examples/export on the native filesystem. The zip files created by export have filenames of the form timestamp - seqnum. Set -output_file_path to the destination directory on the native filesystem. ![]() Use the mlcp export command to export documents in their original format as files in a compressed ZIP file on the native filesystem. space/mlcp/export/files -directory_filter /plays/ password password -mode local -output_file_path \ $ mlcp.sh export -host localhost -port 8000 -username user \ The directory filter selects only the documents in /plays. The following example exports selected documents in the database to the native filesystem directory /space/mlcp/export/files. For details, see How URI Decoding Affects Output File Names.įor a full list of export options, see Export Command Line Options. document_selector '/ex1:elem'ĭocument URIs are URI-decoded before filesystem directories or filenames are constructed for them. When using -document_selector to filter by XPath expression, you can define namespace prefixes using the -path_namespace option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |