Don't sync subdirectories.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SeekneSs
    Visitor
    • Apr 2005
    • 6

    Don't sync subdirectories.

    What is the commando for a script when using select and filter, to not include subfolders?
    I want a sync of inst.* in x:\BBS and not the subdirectories of it...
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Re: Don\'t sync subdirectories.

    If you use the visible option for the sync command, it won't sync folders that aren't expanded, so as long as you don't have an expand all command, it will ignore subfolders.

    Here's an example:

    Code:
    criteria timestamp size
    filter "inst.*"
    load %1 %2
    sync visible mirror:lt->rt
    Chris K Scooter Software

    Comment

    • SeekneSs
      Visitor
      • Apr 2005
      • 6

      #3
      Re: Don\'t sync subdirectories.

      and when i don't use the sync command?

      Comment

      • Chris
        Team Scooter
        • Oct 2007
        • 5538

        #4
        Re: Don\'t sync subdirectories.

        If you aren't using the sync command, as long as you don't include an expand all command, using the .files option for the select command, such as "select all.files" should keep you from affecting subdirectories.
        Chris K Scooter Software

        Comment

        Working...