3 Replies Latest reply on Feb 8, 2011 7:12 AM by Mike Hibbert

    BLCLI path names with spaces

      I'm trying to run the following command:

       

      blcli -v AuthProfile -r Role DepotObject listAllByGroup "/TEST FOLDER"

       

      It runs without error, but doesn't show the contents of the folder. If I run the same command against a folder without spaces in it however, it will run succesfully and print the folder contents.

       

      Any ideas why?

        • 1. Re: BLCLI path names with spaces
          Bill Robinson

          Do you have access to the folder and the objects in it?

           

          Look in the blcli.log file for your user - %APPDATA%\bladelogic\blcli.log or $HOME/.bladelogic/blcli.log to see if there is more useful info in there maybe.

          • 2. BLCLI path names with spaces

            I do - I can access it in the GUI perfectly fine. It is only the folders with spaces in the name that seem to throw this problem.

             

            Running this command:

             

            blcli -v "BL AS 1" -r BLAdmins DepotObject listAllByGroup '/TEST FOLDER'

             

            I get this output in the log:

             

            08 Feb 2011 13:05:08,356 INFO [MESSAGE] Starting CLI session for single command [/MESSAGE]

            08 Feb 2011 13:05:09,778 INFO [MESSAGE]  [/MESSAGE]

            08 Feb 2011 13:05:09,778 INFO [MESSAGE] Cancelling operation... [/MESSAGE]

            08 Feb 2011 13:05:09,778 INFO [MESSAGE] No request for thread : main [/MESSAGE]

            08 Feb 2011 13:05:08,356 INFO [MESSAGE] Starting CLI session for single command [/MESSAGE]

            08 Feb 2011 13:05:09,778 INFO [MESSAGE]  [/MESSAGE]

            08 Feb 2011 13:05:09,778 INFO [MESSAGE] Cancelling operation... [/MESSAGE]

            08 Feb 2011 13:05:09,778 INFO [MESSAGE] No request for thread : main [/MESSAGE]

            • 3. BLCLI path names with spaces

              It seems to be working now... an intermittent problem perhaps?