Move files using scripting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Richards
    New User
    • Jan 2012
    • 1

    Move files using scripting

    I'm having trouble getting a script to move files to work. The script runs without errors bit no files are moved. I'm sure I have just have the synax wrong.

    Script is as follows (TestMove is the session name, and this session works ok in Beyond Compare):

    log verbose "D:\BCScriptsLogs\Synclog.txt"
    criteria timestamp size
    filter "-*.*~"
    load "TestMove"
    move left->right

    Any help would be appreciated.

    Richard
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    The move command operates on selected files. Try the following modified script:

    log verbose "D:\BCScriptsLogs\Synclog.txt"
    criteria timestamp size
    filter "-*.*~"
    load "TestMove"
    expand all
    select all.files
    move left->right
    Chris K Scooter Software

    Comment

    Working...