2
0

rename duplicates to append ".duplicate"

This commit is contained in:
Glax 2024-11-02 16:24:44 +01:00
parent a75549c699
commit 5b0624654b

View File

@ -168,7 +168,7 @@ public class JobBoss : GlobalBase
Log($"Adding Job {job}");
if (!AddJob(job, file.FullName)) //If we detect a duplicate, delete the file.
{
string path = string.Concat(file.FullName, ".failed");
string path = string.Concat(file.FullName, ".duplicate");
file.MoveTo(path);
Log($"Duplicate detected or otherwise not able to add job to list.\nMoved job {job} to {path}");
}