Пример #1
0
        public void Run()
        {
            _logger.Log("KuduSync.NET from: '{0}' to: '{1}'", _from, _to);

            SmartCopy(_from, _to, new DirectoryInfoWrapper(new DirectoryInfo(_from)), new DirectoryInfoWrapper(new DirectoryInfo(_to)));

            _nextManifest.SaveManifestFile();
        }
Пример #2
0
        public void Run()
        {
            _logger.Log("KuduSync.NET from: '{0}' to: '{1}'", _from, _to);
            SmartCopy(_from, _to, _targetSubFolder, new DirectoryInfoWrapper(new DirectoryInfo(_from)), new DirectoryInfoWrapper(new DirectoryInfo(_to)));
            CopyFilesToCopyLast();

            _nextManifest.SaveManifestFile();

            TryCleanupToBeDeletedDirectory();
        }