Unable to export library content via CLI command "export-library-content" with an error message of "not a valid directory".

Unable to export library content via CLI command "export-library-content" with an error message of "not a valid directory".

book

Article ID: KB0079760

calendar_today

Updated On:

Products Versions
Spotfire Server All Supported Versions

Description

When you try to export the library content  with the help of "export-library-content" CLI command it may fail with the following  message

Eg:config export-library-content -f --tool-password=xxxxxxxx --file-path=//1tsspadc8/user_folders/ --user="admin" --item-type=all_items --library-path="/test"

 -------------------------------------
path : \\1tsspadc8 is not a valid directory.
--------------------------------------

Environment

All Supported Environments

Resolution

Make sure you include the file name  to which the library content is to be exported along with the directory name in the file-path.Example as  TESTFILE in the following.


config export-library-content -f --tool-password=xxxxxxxx --file-path=//1tsspadc8/user_folders/ TESTFILE/ --user="admin" --item-type=all_items --library-path="/test"

Issue/Introduction

Unable to export library content via CLI command "export-library-content" with an error message of "not a valid directory".