Select files older than 1 month

Discussion, questions and support.
Post Reply
Message
Author
rienvanham
Posts: 15
Joined: 21.01.2016, 15:27

Select files older than 1 month

#1 Post by rienvanham » 24.01.2016, 08:19

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

Timon
Posts: 688
Joined: 13.09.2012, 06:51

Re: Select files older than 1 month

#2 Post by Timon » 24.01.2016, 09:33

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
Last edited by Timon on 24.01.2016, 12:16, edited 1 time in total.

rienvanham
Posts: 15
Joined: 21.01.2016, 15:27

Re: Select files older than 1 month

#3 Post by rienvanham » 24.01.2016, 10:47

Wow, that helps! Thanks a lot!

Regards,

Rien.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests