Page 1 of 1

tree filtered on recent files and directories ?

Posted: 15 Sep 2022 09:05
by LGS
Hello there

Is there a way in XYplorer to display a tree showing *only* the files and/or directories not older than X days/weeks/months ? ( including the possibility to exclude dome folders like for example temp or some others constantly used by windows itself ?)

I already use the coloring sheme, showing the recent files in green, however I have a big tree and it would be nice to mask the unchanged parts. I also sometimes misplace a file and unless I know exctly the name it's painful to locate it.

Thanks in advance

Best regards

LG

Re: tree filtered on recent files and directories ?

Posted: 15 Sep 2022 09:19
by highend
The tree doesn't show files at all (apart from items in the Links subfolder) so I don't know what you're really asking for. The list pane instead?

Re: tree filtered on recent files and directories ?

Posted: 15 Sep 2022 09:48
by LGS
I would say on the left showing only the directories subtrees where at least one file is recent somewhere in one subdir.

The file list on the right can be sorted on time and shows the recennt ones in green which is good, but why not showing only the recent files when such filter would be activated ?

actually, this feature would show the same "result" as if I copy the entire root tree, but selecting only the recent files in the copy process , and deleting the empty subtrees after in the copy if needed.

The extra exclusion parameter would allow to discard the files which change all time that I dont want to see (exemple temporary files etc)

Hope it is a bit clearer ;-)

As often, some existing feature is in XY plorer probably already very close to that.

Best regards

LG

Re: tree filtered on recent files and directories ?

Posted: 15 Sep 2022 09:58
by highend
I would say on the left showing only the directories subtrees where at least one file is recent somewhere in one subdir.
Not possible (in an efficient manner). It would require a huge amount of processing time to find folders (they get the last modified time stamp updated when a file is changed in them) recursively for each drive just to create the correct mini tree.

And apart from that (for the file list pane): A normal visual filter would suffice?

Re: tree filtered on recent files and directories ?

Posted: 15 Sep 2022 10:31
by LittleBiG
You can achieve something similar combining the quick search (for example based on the age of the file) and the branch view which can hide the empty folders.
Put this into the address bar: ?ageM: w /flatnoempty
This will show the files which are not older than a week with their parent folders. (Folders with older files are not shown.) Sort by path, use level-indent, and it will look cool.

Re: tree filtered on recent files and directories ?

Posted: 15 Sep 2022 11:15
by LGS
Thank you LittleBig.

"?ageM: w /flatnoempty" works in a reasonable time, especially if I dont start from too high

What would become the syntax if I want to add a filter on the file type, for exemple *.jpg or *.pdf? (sorry I am not familiar with these macro commands)

Actually, the well known file search utility "everything 1.5a" can sort the files very quickly based on the creation date and show them in a flat list, which provides a kind of solution to what I am looking for. However I wondered if this was possible in XYPlorer with the nice tree presentation + colors.

Best regards

LG

Re: tree filtered on recent files and directories ?

Posted: 15 Sep 2022 14:27
by LittleBiG
LGS wrote: 15 Sep 2022 11:15 What would become the syntax if I want to add a filter on the file type, for exemple *.jpg or *.pdf? (sorry I am not familiar with these macro commands)
?*.jpg AND ageM: w /flatnoempty
or if you want both types at the same time:
?(*.jpg OR *.pdf) AND ageM: w /flatnoempty