Clarity

  • 1.  XOG command execution through Git Bash

    Posted Jul 17, 2018 10:58 AM

    I am working on a Windows machine. I have downloaded the cross-platform zip of the XOG Client from the Downloads section of the Application. I have a scenario where 1) The XOG input file used are placed inside folders whose name contains space. 2) The XOG command should be executed inside a Shell Script.

     

    When I try to run the following command in "Command Prompt", it is working fine.

     

    xog -username xogusername -password xogpassword -servername xogservername -portnumber xogport -input "XOG Folder/my_input_file.xml" -output "XOG Folder/my_output_file.xml"

     

    But when I execute the same command in "Git Bash", it is throwing "No valid input files specified" error. The command though works fine when the folder name does not contain any space in it's name.



  • 2.  Re: XOG command execution through Git Bash

    Posted Jul 17, 2018 11:38 AM

    I have never user used GIT BASH for theses XOG Activities but if it is taking the file properly when there is no space in its name, then this is how it is meant to behave. Usually you should name these files using under scores ( _ ) symbols. I would say that is the best practice, be it any client that you are using.