No announcement yet.

Comparing subdirectories without a common parent

  • Filter
  • Time
  • Show
Clear All
new posts

  • Comparing subdirectories without a common parent

    One task I do frequently is synchronize files between two computers using a mapped network drive.

    A problem is that the directories I want to compare do not have a common parent, and may have dissimilar paths. For example:

    /home/dave/doc <-> /mnt/laptop/home/dave/doc
    /opt/lampp/htdocs <-> /mnt/laptop/opt/lampp/htdocs
    /opt/lampp/var/mysql <-> /mnt/laptop/opt/lampp/var/mysql
    /mnt/sda2/d/download <-> /mnt/laptop/sda8/download

    I don't want to use an automatic script. I need to view the differences interactively since sometimes I need to skip updating some of the files.

    Is there a way of setting up a session that will (somehow) load up all of these folder compares in one step?

  • #2
    An n-Way Folder Compare session used to be on the roadmap for BC3 Pro. I am guessing that it has been post-poned to a 3.x release due to time constraints that prevented its implementation in 3.0
    BC v4.0.7 build 19761


    • #3
      You could create a series of sessions, or just open the Folder Compares, and then go up to Session -> Save Workspace As. Loading a Workspace will re-open your Windows and Tabs.

      Would this be the feature you are looking for?
      Aaron P Scooter Software


      • #4
        That might work. I haven't experimented with workspaces yet.

        Another idea I had was to create symbolic links to all the directories (this is on linux), create a new directory on each computer containing the symlinks, and then compare those two directories. I haven't tried this yet.

        But the workspace solution sounds more straightforward.


        • #5
          Thanks, Aaron, saving the workspace does what I wanted.