Page 1 of 1
Search for new files
Posted: 03 May 2015 00:42
by jdev21
How can I search for files in all current subfolders that are no older than 7 days? Is this possible?
Re: Search for new files
Posted: 03 May 2015 02:49
by highend
ctrl + f
date tab
in the last 7 day(s)
and if you don't want to list folders:
attribute tab
[x] not directory
Re: Search for new files
Posted: 03 May 2015 03:26
by jdev21
Thank you. Is it possible to do this as a command for the catalog?
Re: Search for new files
Posted: 03 May 2015 07:44
by bdeshi
Yep.
First open the Find fails pane, and click "Reset Filters"
then setup the find tabs as directed.
Now open
Menu > Edit > Search Templates.
click "Save template", and give it a descriptive name. Suppose the name was "files_last_7days"
Now add a new catalog entry, and put this in for "Location"
Code: Select all
::loadsearch "files_last_7days", 'r';
Re: Search for new files
Posted: 03 May 2015 13:56
by admin
Since Quick Search also supports search by date there is an easier way:
It will search the current location recursively (= including subfolders) for items 7 days old or younger.
Here's the Catalog item for the job:
Re: Search for new files
Posted: 05 May 2015 01:20
by jdev21
Perfect. Thank you both.