Auto executar sincronizacao

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcos0905
    New User
    • Jun 2011
    • 2

    Auto executar sincronizacao

    Bom-dia, por gentilea alguem poderia me ajudar e me mostrar ou dizer uma forma de executar autoamticamente a sicnronizacao "auto sync"???
  • Aaron
    Team Scooter
    • Oct 2007
    • 16002

    #2
    Hello,

    BC3's Sync session type in the GUI does not have the option to automatically sync. You can use BC3 scripting to setup a sync task from the command line and then use Windows Task Scheduler to perform that task at set intervals.

    There is detailed documentation in the Help file under the Using Beyond Compare -> Automating with Script section, and Scripting Reference section.

    The basic example would be:
    bcompare.exe "@c:\bcscript.txt"

    Where bcscript.txt would be:
    load "c:\folder1" "c:\folder2"
    sync update:left->right


    PLEASE NOTE: BC Sync actions are not undo-able. Please test with TEST DATA or already backed up data while you learn how sync works.

    translate.google.com
    Olá,

    BC3 tipo de sessão Sync na GUI não tem a opção de sincronizar automaticamente. Você pode usar BC3 scripting para configurar uma tarefa de sincronização da linha de comando e depois usar o Windows Task Scheduler para executar essa tarefa em intervalos definidos.

    Há detalhada documentação no arquivo de Ajuda sob o Usando Beyond Compare -> Automatizar com a seção Script, e seção de Referência Scripting.

    O exemplo básico seria:
    bcompare.exe "@c:\bcscript.txt"

    Onde bcscript.txt seria:
    load "c:\pasta1" "c:\folder2"
    sync update:left->right

    ATENÇÃO: ações BC Sync não são capazes de desfazer-. Por favor, teste com dados de teste ou já tiver feito backup de dados, enquanto você aprende como sync funciona.
    Aaron P Scooter Software

    Comment

    • marcos0905
      New User
      • Jun 2011
      • 2

      #3
      Obrigado pela dica, e teria como rodar este script em modo silencioso???

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16002

        #4
        You can run in silent mode by adding the /silent flag:

        bcompare.exe /silent "@c:\script.txt" "c:\folder1" "c:\folder2"

        However, I strongly recommend running script interactively for the first few runs, in order to see if any prompts or errors appear. /Silent will suppress any of these messages, including messages such as "Overwrite Newer file? Yes, Yes to All, No, No to All"

        translate.google.com
        Você pode executar no modo silencioso, adicionando a flag / silent:

        bcompare.exe /silent "@c:\script.txt" "c:\pasta1" "c:\folder2"

        No entanto, eu recomendo fortemente executando script de forma interativa para as primeiras corridas, a fim de ver se os avisos ou erros aparecem. /Silent irá suprimir qualquer uma dessas mensagens, incluindo mensagens como "Substituir arquivo mais recente? Sim, Sim para todos, Não, Não para Todos"
        Aaron P Scooter Software

        Comment

        Working...