Move-By-Id UserSecretsId
This commit is contained in:
parent
145610d45a
commit
0f6a78f242
@ -139,11 +139,12 @@ public class DeleteByDistinct
|
|||||||
File.WriteAllLines(Path.Combine(directory, logFile), deletedDirectories.Distinct());
|
File.WriteAllLines(Path.Combine(directory, logFile), deletedDirectories.Distinct());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logFile = $"{ticks}-{variable}-Files-B.lsv";
|
if (!logOnly && renameFiles.Any())
|
||||||
if (!logOnly)
|
|
||||||
File.WriteAllLines(Path.Combine(directory, logFile), renameFiles.Select(l => l.Source));
|
|
||||||
if (renameFiles.Any() && !logOnly)
|
|
||||||
{
|
{
|
||||||
|
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}>");
|
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++)
|
for (int y = 0; y < int.MaxValue; y++)
|
||||||
{
|
{
|
||||||
|
@ -6,10 +6,5 @@
|
|||||||
},
|
},
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"MinimumLevel": "Debug"
|
"MinimumLevel": "Debug"
|
||||||
},
|
|
||||||
"Windows": {
|
|
||||||
"Configuration": {
|
|
||||||
"VerifyToSeason": []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<LangVersion>10.0</LangVersion>
|
<LangVersion>10.0</LangVersion>
|
||||||
@ -6,6 +6,7 @@
|
|||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
|
<UserSecretsId>ce31220e-ef92-4e68-89c5-91b027a94dca</UserSecretsId>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PackageId>Phares.View.by.Distance.Move.By.Id</PackageId>
|
<PackageId>Phares.View.by.Distance.Move.By.Id</PackageId>
|
||||||
|
@ -1,20 +1,10 @@
|
|||||||
{
|
{
|
||||||
"ComparePathsFile": "C:/Users/mikep/AppData/Local/PharesApps/Drag-Drop-Explorer/2023_05/638105806929278358.json",
|
|
||||||
"MoveTo": "L",
|
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Log4netProvider": "Debug"
|
"Log4netProvider": "Debug"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MaxDegreeOfParallelism": 6,
|
|
||||||
"MaxMinutesDelta": 2,
|
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"MinimumLevel": "Debug"
|
"MinimumLevel": "Debug"
|
||||||
},
|
|
||||||
"Windows": {
|
|
||||||
"Configuration": {
|
|
||||||
"RootDirectory": "C:/",
|
|
||||||
"VerifyToSeason": []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -286,6 +286,11 @@ public class Rename
|
|||||||
continue;
|
continue;
|
||||||
distinct.Add(checkFile);
|
distinct.Add(checkFile);
|
||||||
results.Add(new(fileHolder, checkFile));
|
results.Add(new(fileHolder, checkFile));
|
||||||
|
if (ffmpegFiles is not null)
|
||||||
|
{
|
||||||
|
foreach (string ffmpegFile in ffmpegFiles)
|
||||||
|
File.Delete(ffmpegFile);
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (id is null)
|
if (id is null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user