Removed Comments

This commit is contained in:
2023-02-05 09:33:49 -07:00
parent 1d9b63ffba
commit 75ec814c7c
21 changed files with 27 additions and 1357 deletions

View File

@ -1,4 +1,4 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration;
using Phares.Shared;
using Serilog;
using ShellProgressBar;
@ -114,14 +114,6 @@ public class Rename
{
progressBar.Tick();
fileHolder = new(file);
// else if (file.EndsWith(".del") && !file.Contains(".jpg"))
// {
// checkFile = string.Concat(file[..^4], ".jpg");
// if (File.Exists(checkFile))
// continue;
// results.Add(new(fileHolder, checkFile));
// continue;
// }
if (file.EndsWith(".jpg.del"))
{
checkFile = file[..^4];
@ -211,7 +203,6 @@ public class Rename
{
name = matchNginx.Name.Trim();
if (name.Length < 1 || (!name.StartsWith("zzz =20") && !name.StartsWith("=20") && !name.StartsWith("#20")))
// if (name.Length < 1 || !name.Contains(".Z.#20"))
continue;
directoryName = Path.GetDirectoryName(matchNginx.ConvertedPath);
if (directoryName is null)
@ -220,7 +211,6 @@ public class Rename
check = Path.Combine(directoryName, name[1..]);
else
check = Path.Combine(directoryName, $"zzz {name[5..]}");
// check = Path.Combine(directoryName, name.Replace("#", string.Empty));
if (Directory.Exists(check) || File.Exists(check))
continue;
if (!Directory.Exists(matchNginx.ConvertedPath))