Sync'ing just a few files within a folder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • richardl
    Visitor
    • Jun 2004
    • 3

    Sync'ing just a few files within a folder

    In a script, what would be the easiest method to only sync 2 files out of many within a directory? Example: I only need to sync up fileA and fileB to another folder (DirZ) .. Thought this would be easy .. but it's a Monday

    DirA
    DirA\fileA
    DirA\fileB
    DirA\fileC
    DirA\DirB\FileD
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Re: Sync\'ing just a few files within a folder

    Use an inclusive filter to only include those files by name.

    filter "DirA\fileA;DirA\fileB"

    Make sure when you use the sync command you expand all and use the sync option visible to make the sync ignore the files that are filtered out of the display.
    Chris K Scooter Software

    Comment

    Working...