// Copyright Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using EpicGames.Core; namespace AutomationTool { [Help("Merge one or more remote DDC shares into a local share, taking files with the newest timestamps and keeping the size below a certain limit")] [Help("LocalDir=", "The local DDC directory to add/remove files from")] [Help("RemoteDir=", "The remote DDC directory to pull from. May be specified multiple times.")] [Help("MaxSize=", "Maximum size of the local DDC directory. TB/MB/GB/KB units are allowed.")] [Help("MaxDays=", "Only copies files with modified timestamps in the past number of days.")] [Help("TimeLimit=