Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2017
    Posts
    2

    Default Sync Custom if file on right is newer

    Hello

    i need to create a script with this options, but with sync update:left->right if file on right is newer dont replace it, but i need replace the files

    Screenshot_328.jpg

    this is my script
    load C:\A C:\B
    criteria timestamp:61sec;IgnoreDST
    sync update:left->right
    option confirm:yes-to-all

    Thank

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

    Default

    Hello,

    Instead of using the pre-built Sync commands, you'll want to use a combination of select and copy commands. Please test on test folders first, since sync does not offer a Preview before acting, and cannot be Undone. This way you can select the specific criteria needed, then copy that selection, leaving right orphan files alone.

    option confirm:yes-to-all
    criteria timestamp:61sec;IgnoreDST
    load C:\A C:\B
    expand all
    select left.newer.files left.older.files left.diff.files left.orphan.files
    copy left->right
    Aaron P Scooter Software

  3. #3
    Join Date
    Jun 2017
    Posts
    2

    Default

    Thank you Aaron, work fine !!

Posting Permissions

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