From fec79bba8a47e10cd5a8820c83d5ba3d16115bf5 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Fri, 15 Sep 2017 09:59:00 +0200 Subject: [PATCH] Better name for variable denoting target subdir. --- AutoTx/AutoTx.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index f39716a..9994558 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -687,19 +687,19 @@ namespace AutoTx // the default subdir inside the managed directory, where folders will be // picked up later by the actual transfer method: - var managedSubDir = "PROCESSING"; + var target = "PROCESSING"; // if the user has no directory on the destination move to UNMATCHED instead: if (string.IsNullOrWhiteSpace(DestinationPath(userDir.Name))) { writeLog("Found unmatched incoming dir: " + userDir.Name, true); - managedSubDir = "UNMATCHED"; + target = "UNMATCHED"; } // now everything that is supposed to be transferred is in a folder, // for example: D:\ATX\PROCESSING\2017-04-02__12-34-56\user00 var targetDir = Path.Combine(_config.SourceDrive, _config.ManagedDirectory, - managedSubDir, + target, CreateTimestamp(), userDir.Name); if (MoveAllSubDirs(userDir, targetDir)) -- GitLab