Page 1 of 1

Select files older than 1 month

Posted: 24.01.2016, 09:19
by rienvanham
I have the following (perhaps easy ;-)) question:

My application creates a logfiles every day. Once in a while I want to select all the logfiles which are older than 1 month and then delete them.

But how do I quickly select all the files which are older than 1 month? There is a way to select the files which are NOT older than X but I would like to do the opposit.

(Sorry if I make mistakes with my English).

Cheers,

Rien van Ham

Re: Select files older than 1 month

Posted: 24.01.2016, 10:33
by Timon
Use wildcard search in that case

Search files/folders (Alt+F7) - оn 'Location' tab in 'Filename:' field enter *.*; -|month
where *.* - is your filemask
; - multiple item divider
-|month - older than 30 days

See tooltip/hint for 'Filename:' field
All Wildcard Search:
* matches 0 or more characters
? matches any single character
; multiple item divider
-*.txt exclude all *.txt files
--*.* include files with '-' at the beginning
\*docs include *docs folders
-\*temp exclude *temp folders
Only one type is possible (include or exclude)
|today from 00:00 till now
|hour not older than one hour
|day not older than 24 hours
|week not older than 7 days
|month not older than 30 days
|year not older than 365 days
-|xxx older than
>3000 greater than 3000 bytes
>kb3 greater than 3 kb
>mb3 greater than 3 mb
>gb3 greater than 3 gb
<3000 smaller than 3000 bytes
<kb3 smaller than 3 kb
<mb3 smaller than 3 mb
<gb3 smaller than 3 gb
: D search items with attribute Directory
: H search items with attribute Hidden
: DH search items with attribute Directory and Hidden
Any combination of A,H,S,R,D,E,C is possible

Re: Select files older than 1 month

Posted: 24.01.2016, 11:47
by rienvanham
Wow, that helps! Thanks a lot!

Regards,

Rien.