Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.85 KB

rspace-client_eln_importWord.md

File metadata and controls

61 lines (40 loc) · 1.85 KB

rspace-client eln importWord

Import MSOffice Word files (doc, docx or odt)

Synopsis

Import Word files as RSpace document. Add files and folders to the command line. Files and folders are scanned for Word documents and converted

Use the --recursive flag to scan all folder tree contents.

Any folder structure in the input is flattened in RSpace. Documents are generated in 'folder' or HomeFolder if 'folder' is not set.

Files or folder names starting with '.' are ignored. But you can use '.' as an argument to scan the current folder, e.g.

If you are importing many files, and cancel the operation while it is still running by a Ctrl-C or other interrupt signal, the files not imported will be listed in stderr or in a file specified by the --logfile argument.

rspace-client eln importWord [flags]

Examples


// import a single file
rspace eln importWord wordfile.docx

// scan a folder recursively and import all MSWord files into an RSpace folder
rspace eln importWord AFolder --folder 1234 --recursive
	

Options

      --dry-run          Performs a dry-run, reporting on what would be uploaded
      --folder int       ID of Target folder for imported Word files
  -h, --help             help for importWord
      --logfile string   A log file to record upload progress, if not set will log to standard error
      --recursive        If uploading a folder, uploads contents recursively.

Options inherited from parent commands

      --config string         config file (default is $HOME/.rspace)
  -o, --outFile string        Output file for program output
  -f, --outputFormat string   Output format: one of 'json','table', 'csv' or 'quiet'  (default "table")

SEE ALSO

Auto generated by spf13/cobra on 19-Aug-2020