Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,949

    Default

    Hello,

    Could you double check the title bar if you are in the "Session Settings - Folder Sync" or "Session Settings - Folder Compare"? The Folder Sync session has this option, but the Folder Compare relies on the Folder View options (Always Show Folders, or Compare Files and Folder Structure) if the folder is still visible in the view for if it is included in the sync.
    Aaron P Scooter Software

  2. #12
    Join Date
    Feb 2013
    Posts
    7

    Default

    Thansk for getting back, below is what I'm looking at. I wasn't even aware of Folder Sync and up until now I've always used folder compare to successfully sync folders, so surely there is huge overlap between the two session types. What's the advantage of Folder Sync? I'm only a light user and I haven't explored all the features but I'll definitely look into folder sync.

    I use folder compare is because I've set up a couple of hotkeys using AutoHotkey to select the left file/folder, and another one to select the right file/folder and open BC4 directly. This is much quicker than using shell menus and allows me to run BC4 portably.

    Now, the help file says:

    Mirror to Right: Replaces all different items on right, deletes any right-side orphans, and copies any left-side orphans to the right
    So are orphans deleted or not? The fact that people come here asking why their orphans are not getting deleted surely indicates there's perhaps something counter-intuitive about the way this all works at the moment.

    Attached Images Attached Images
    Last edited by Scoox; 24-Aug-2018 at 08:15 PM.

  3. #13
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,759

    Default

    The Folder Sync is a streamlined interface that only supports syncing. It is less powerful than the Folder Compare.

    When using the Folder Compare to Actions > Synchronize > Mirror to Right, orphan files and folders on the right should be deleted. In the confirmation dialog for Synchronize, it might help to uncheck Just Selection.

    If you do need to use Just Selection when syncing, make sure the left and right side are both selected. If Just Selection is checked and the right side isn't selected, right orphans will not be deleted.
    Chris K Scooter Software

  4. #14
    Join Date
    Nov 2018
    Posts
    2

    Default

    I also have a number of folders that are not deleted after a Mirror operation in Folder Sync. Even manually selecting to delete them in the UI and choosing 'Sync Now' does not remove them. The behavior is consistent with script operations. Some folders have system files in the folder like 'folder.jpg' which might cause a silent failure when deleting these files. Other folders just have empty sub-folders. I looked through the settings but cannot find any options for automatic deletion of system files or sub-folders. Is there some method to do this in Folder Sync or automatically with a script? I can remove the folders manually by selecting them a 'Folder Compare' result list but I really need the automation for backup syncing. Just updated to version 4.2.8 on Win10.

  5. #15
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,759

    Default

    It might help to prevent Beyond Compare from filtering out system files. In the Folder Compare or Folder Sync, click the Rules button (referee icon). In the Other Filters tab, uncheck Exclude protected operating system files (Recommended), then click OK.
    Chris K Scooter Software

  6. #16
    Join Date
    Nov 2018
    Posts
    2

    Default

    That fixed the problem in the UI, thanks! I obviously missed that checkbox when hunting for this option.

    To replicate the fix in the script it looks like I should use:
    filter include-protected
    ...is that correct?

    I need to place this next to other 'filter' calls. Which syntax is correct?
    filter "*.jpg"
    filter include-protected
    OR
    filter "*.jpg" include-protected
    OR something else?

    Thanks very much for your help with this.

  7. #17
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,949

    Default

    Hello,

    Two consecutive lines:
    filter "*.jpg"
    filter include-protected

    This enables both of these options for the lines that follow it. How does this work for you?
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •