Bc3 for linux not support filename include single quotation mark. (And suggest)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zw963
    Fanatic
    • Apr 2012
    • 163

    Bc3 for linux not support filename include single quotation mark. (And suggest)

    Dropbox conflict filename will include a single quotation mark in it.

    e.g. file1\ (james's\ conflicted\ copy\ 2016-01-01).sh

    beyond compare doesn't support those filename.

    Fix:
    Code:
    ARGS="";
    while [ "$#" -gt 0 ]; do
        ARGS=$ARGS" \"$1\""
        shift 1
    done
  • Aaron
    Team Scooter
    • Oct 2007
    • 15941

    #2
    Hello,

    Which version of Beyond Compare are you running and what is the exact error you are seeing on the screen?

    BC3 does not support a Dropbox profile connection method; how would you be loading Dropbox?

    BC4 does have this support, but BC4.1.5 appears to load and handle "File's Test.txt" without issue in the Folder Compare or file views.
    Aaron P Scooter Software

    Comment

    • zw963
      Fanatic
      • Apr 2012
      • 163

      #3
      e.g.

      Current exit two file:
      file1.sh file1 (james's conflicted copy 2016-01-01).sh

      Code:
      $: bcompare  file1\ \(james\'s\ conflicted\ copy\ 2016-01-01\).sh file1.sh
      /usr/bin/bcompare: -c: line 0: syntax error near unexpected token `)'
      /usr/bin/bcompare: -c: line 0: `exec -a /usr/bin/bcompare /usr/lib64/beyondcompare/BCompare  'file1 (james's conflicted copy 2016-01-01).sh' 'file1.sh''
      if Change with fix

      Code:
      ARGS="";
      while [ "$#" -gt 0 ]; do
          ARGS=$ARGS" \"$1\""
          shift 1
      done
      work file, Though, if a filename is include double quotes, it crash again.

      But, I never see files with double quotes in name, only single quotes is often.
      Last edited by zw963; 23-Mar-2016, 01:25 AM.

      Comment

      • zw963
        Fanatic
        • Apr 2012
        • 163

        #4
        openSUSE 42.1 X86_64

        bc 4.1.5

        Comment

        • Aaron
          Team Scooter
          • Oct 2007
          • 15941

          #5
          Thanks, we'll look into improving our command line support. To open these files please drag and drop from Explorer onto the main BC4 window or use our internal Browse dialog.
          Aaron P Scooter Software

          Comment

          • Chris
            Team Scooter
            • Oct 2007
            • 5533

            #6
            The command line issue is fixed in Beyond Compare 4.3.4, now available on the download page.
            Chris K Scooter Software

            Comment

            • zw963
              Fanatic
              • Apr 2012
              • 163

              #7
              Thank you!

              Comment

              Working...