Updated the FileViewer so that it would move the nely found files into a folder going by the same name as the selected folder group.
This commit is contained in:
Binary file not shown.
@@ -54,8 +54,8 @@ namespace DataOrganizer
|
||||
|
||||
foreach(var file in files)
|
||||
{
|
||||
var path = file.ParentFolder.FullPath.Remove(0, folderGroup.Path.Length + 1);
|
||||
var newFilePath = Path.Combine(profile.DefaultNewContentFolder, file.PathNoRoot);
|
||||
var path = Path.Combine(folderGroup.Name, file.ParentFolder.FullPath.Remove(0, folderGroup.Path.Length + 1));
|
||||
var newFilePath = Path.Combine(profile.DefaultNewContentFolder, folderGroup.Name, file.PathNoRoot);
|
||||
Directory.CreateDirectory(Path.Combine(profile.DefaultNewContentFolder, path));
|
||||
|
||||
UpdateStatusStrip($"Moving {file.Name} to default location '{profile.DefaultNewContentFolder}'.");
|
||||
|
||||
Reference in New Issue
Block a user