Sync Custom if file on right is newer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • felipezagu
    New User
    • Jun 2017
    • 2

    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

    Click image for larger version

Name:	Screenshot_328.jpg
Views:	1
Size:	36.6 KB
ID:	77033

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

    Thank
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    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

    Comment

    • felipezagu
      New User
      • Jun 2017
      • 2

      #3
      Thank you Aaron, work fine !!

      Comment

      Working...