Hi all,

we've hundrets of coloboration folders like this:

xFolder (root folder)
|_ xTeam1
| |_ Subfolder (including more subfolders and files...)
|_ x_Company99
|_ xTeam2
|_ xTeam3
|_ xTeamIT
|_ xTeamMarketing


I need a query which checks the last access date from all files/folders and subfolders, and return only the folder name from the 2nd level (xTeam1) if the last access date is greater than 2 years ago of all files below each collaboration folder.
So that we able to archive this folders, which contain only old files.

Kind regards