Queries with Time Overview
Although it’s strongly recommended to use filters or quick search when searching by time, you can run time-based manual queries.
Time Field Definitions
FIELD NAME |
DEFINITION |
|---|---|
atime |
last accessed → Updates when a file is opened or accessed by you, an application, or a remote system. |
ctime |
last changed → Updates when anything about a file changes except access time — including permissions, attributes, or metadata. |
mtime |
last modified → Updates when the contents of a file are changed, not its attributes. For example:
|
Formatting Rules
Formatting to use when searching for dates and times.
⚠️ IMPORTANT! Searching on time is case-sensitive.
VARIABLE |
FORMAT |
|---|---|
date |
|
time |
|
Any time or date |
\* |
Ranges |
Use brackets to define ranges:
|
Query Examples to Find Data with Recent Activity
🔎 QUERY |
✅ RESULT |
|---|---|
|
Modified in the last 30 minutes. |
|
Modified or changed in the last hour. |
|
Modified or accessed in the last day. |
|
Modified in the last hour, excluding exactly 1 hour ago and the current moment. |
Query Examples to Find Cold Data
🔎 QUERY |
✅ RESULT |
|---|---|
|
Not modified for over 3 months but less than 5 years. |
|
Not modified and not accessed in over 1 year (* = any time in the past). |
|
Modified more than 3 months ago but less than 5 years ago, excluding exactly 3 months and 5 years. |
Comments
0 comments
Please sign in to leave a comment.