Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2014
    Location
    Chicago area
    Posts
    2

    Default Make copies of hundreds of home directories

    The company I work for has sold two entities and I need to copy the home directories of 274 users to an external usb drive. Can I do this through the command line interface or do I have to go all the way to full blown scripting ? I have tried command line with the network location on the left and the local usb destination on the right with the following parameters:
    /automerge
    /favorleft
    /LRO

    the session prompts because the destination folder does not exist.
    Anyone have any examples of how anything similar was accomplished ?
    Thanks

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,616

    Default

    Hello,

    Automerge and the associated commands are for Text Merge sessions defined from a version control system, and are not supported for folder level functions.

    You would need to use either the interface or scripting. I would recommend the interface first, as it would give you a preview of how the actions would take place. Script is an automated method to perform the same set of clicks and actions, mirroring the interface step by step.

    Script itself has syntax documented in the Using Beyond Compare -> Script chapter. Each line is performed as a step. You can use something like
    filter "username1\;username2\"
    load "c:\users\" "d:\target\users\"

    then either
    select left.all
    copy left->right

    or
    sync create-empty update:left->right

    Depending on which action you need to take for your files.

    Later, we can customize the script to accept a text string to replace any of the literal strings in the script:
    load "%1" "%2"

    where the command line is then:
    bcompare.exe "@c:\bscript.txt" "c:\users\user1" "d:\target\users\user1"
    Aaron P Scooter Software

  3. #3
    Join Date
    Nov 2014
    Location
    Chicago area
    Posts
    2

    Default

    Thank you, I think I can through this now.

Tags for this Thread

Posting Permissions

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