UpdateDateVerifyAndGetTicksDirectories

SaveOrCopyContents
This commit is contained in:
2023-09-10 00:23:08 -07:00
parent f99802b7f4
commit aa7469989a
3 changed files with 131 additions and 201 deletions

View File

@ -95,8 +95,8 @@ public class Worker : BackgroundService
_Logger.LogInformation("B) Save (All Directories),");
_Logger.LogInformation("C) Clipboard (Top Directory Only),");
_Logger.LogInformation("D) Clipboard (All Directories),");
_Logger.LogInformation("E) Clipboard (Top Directory Only and File Name Without Extension),");
_Logger.LogInformation("F) Clipboard (All Directories and File Name Without Extension),");
// E
// F
_Logger.LogInformation("G) Genealogical Data Communication");
_Logger.LogInformation("H) Hardcoded file search and sort,");
_Logger.LogInformation("I) Ignore case and rename files to lowercase,");
@ -110,7 +110,7 @@ public class Worker : BackgroundService
// Q
_Logger.LogInformation("R) Rename to old, copy, delete old,");
_Logger.LogInformation("S) Set Date from Zip Entry,");
_Logger.LogInformation("T) Too long rename,");
_Logger.LogInformation("T) *Ticks ~~Too long rename~~,");
_Logger.LogInformation("U) Links for Hugo,");
_Logger.LogInformation("V) VSCode Hope Sort,");
// W
@ -126,8 +126,7 @@ public class Worker : BackgroundService
case ConsoleKey.A:
case ConsoleKey.B:
case ConsoleKey.C:
case ConsoleKey.E:
case ConsoleKey.F:
case ConsoleKey.D:
Helpers.HelperSaveOrCopyContents.SaveOrCopyContents(_Logger, _Args[0], consoleKey);
break;
case ConsoleKey.G:
@ -170,8 +169,9 @@ public class Worker : BackgroundService
_ = Helpers.HelperZipFilesByDate.SetDateFromZipEntry(_Logger, _Args[0]);
break;
case ConsoleKey.T:
Helpers.HelperTooLong.TooLong(_Args[0], delete: false);
Helpers.HelperTooLong.TooLong(_Args[0], delete: true);
Helpers.HelperTooLong.UpdateDateVerifyAndGetTicksDirectories(_AppSettings, _Args[0]);
// Helpers.HelperTooLong.TooLong(_Args[0], delete: false);
// Helpers.HelperTooLong.TooLong(_Args[0], delete: true);
break;
case ConsoleKey.U:
Helpers.HelperMarkdown.MarkdownConvertLinksForHugo(_AppSettings, _Logger, _Args);