Move-By-Id UserSecretsId
This commit is contained in:
@ -139,11 +139,12 @@ public class DeleteByDistinct
|
||||
File.WriteAllLines(Path.Combine(directory, logFile), deletedDirectories.Distinct());
|
||||
}
|
||||
}
|
||||
logFile = $"{ticks}-{variable}-Files-B.lsv";
|
||||
if (!logOnly)
|
||||
File.WriteAllLines(Path.Combine(directory, logFile), renameFiles.Select(l => l.Source));
|
||||
if (renameFiles.Any() && !logOnly)
|
||||
if (!logOnly && renameFiles.Any())
|
||||
{
|
||||
logFile = $"{ticks}-{variable}-Files-B.lsv";
|
||||
File.WriteAllLines(Path.Combine(directory, logFile), renameFiles.Select(l => l.Source));
|
||||
logFile = $"{ticks}-{variable}-Files-C.lsv";
|
||||
File.WriteAllLines(Path.Combine(directory, logFile), renameFiles.Select(l => l.Destination));
|
||||
log.Information($"Ready to rename to match {renameFiles.Count} from {variable} {appSettings.SearchPattern} file(s)? See <{logFile}>");
|
||||
for (int y = 0; y < int.MaxValue; y++)
|
||||
{
|
||||
|
@ -6,10 +6,5 @@
|
||||
},
|
||||
"Serilog": {
|
||||
"MinimumLevel": "Debug"
|
||||
},
|
||||
"Windows": {
|
||||
"Configuration": {
|
||||
"VerifyToSeason": []
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user