Now relying on pipeline to copy files from file shares for ghost-pcl and linc-pdfc

pdftext-stripper logic is already ordered and now looping exiting text files is also ordered
This commit is contained in:
2025-06-27 12:42:44 -07:00
parent 3467fb63a0
commit f7e0a34108
5 changed files with 82 additions and 14 deletions

View File

@ -75,6 +75,7 @@ internal class Convert
string[] txtFiles = Directory.GetFiles(sourcePath, $"{sourceFileNameWithoutExtension}_*.txt", SearchOption.TopDirectoryOnly);
if (txtFiles.Length != 0)
{
txtFiles = (from l in txtFiles orderby l.Length, l select l).ToArray();
foreach (string txtFile in txtFiles)
{
sourceFiles.Add(txtFile);