Rename id before confirm
This commit is contained in:
parent
d35e98b5f8
commit
be932a8828
@ -348,7 +348,6 @@ public class Rename
|
||||
{
|
||||
results.Add(fileHolder.NameWithoutExtension);
|
||||
File.Move(fileHolder.FullName, to);
|
||||
File.WriteAllText($"{to}.id", $"{to}{Environment.NewLine}{fileHolder.FullName}");
|
||||
}
|
||||
log.Information("Done Moving");
|
||||
}
|
||||
@ -395,6 +394,8 @@ public class Rename
|
||||
if (File.Exists(to))
|
||||
continue;
|
||||
verifiedToDoCollection.Add(new(fileHolder, to));
|
||||
if (string.IsNullOrEmpty(_AppSettings.CopyTo))
|
||||
File.WriteAllText($"{to}.id", $"{to}{Environment.NewLine}{fileHolder.FullName}");
|
||||
}
|
||||
if (!verifiedToDoCollection.Any())
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user