How to sync directory/sub-directory into only 1 Local dire

Advertisement

solicom
Joined:
Posts:
8

How to sync directory/sub-directory into only 1 Local dire

Hello,
I was wonder if its possible to sync all ZIP files with a specific date within a Remote directory and all its sub-directories, into just 1 Local directory, avoiding creation of sub-folders in my local.

Code:

synchronize local -filemask="*.zip>2013-02-07|archive/" D:\fsdash\diags\SYNC\temp\BIOS /diags/BIOS

Currently it creates all subdirectories into my local, I want to have all ZIP files in my local into just only 1 directory.

THX

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: How to sync directory/sub-directory into only 1 Local dire

No, it is not possible.
It should not be difficult to script it with WinSCP .NET assembly with some elementary programming skills though.

Reply with quote

Advertisement

You can post new topics in this forum