Same Rule as the Filer When Migrating Folders (Time Range)
Right now, Sharegate is migrating the entire folder structure with a lot of empty folders regardless of if there are active files (modified in the past 18 months) within them. I would like Sharegate to apply the same rule on the folders when none of the file under it are migrated. In those cases, the folder should be ignored.
I am doing some file share migrations to onedrive which are conditional based on a date range. What I am finding is that it is mimicking the user’s homedrive entirely including the folders which do not meet the date range, however the content is empty because the files do not meet the criteria I want to migrate. Would it be possible to “Not migrate empty folders”.
The other option is to flatten the folder hierarchy however I want to retain users homedrive structure.
I think the folder should only be affected by this setting if all the data within is outside of the time range (meaning the folder would be left empty).
In reference to our migration we have hundreds/thousands of folders containing data that falls outside our time range for being migrated. But because the folder had been edited (some data inside deleted) the folder date falls within the time range. Essentially, this is ignoring all files within the folder because their date remains unchanged, but bringing the empty folder across. Thus leaving us with hundreds of empty folders.
Possibly a feature to scan for all empty folders within SharePoint with the option to delete could also be a smaller work-around for this.
Mathieu Delisle commented
When using the "Filter by time range" option in a Property Template, the folders will always go though whether they are part of the time range or not. I'd like the folders to also be affected by this setting.