Examples of search filters
This section provides a list of examples for search filters.
Note: You must wrap string values in single quotation marks but you cannot wrap numeric values in
single quotes.
- Owner=
'bob'
- # All files owned by
'bob'
. - Fileset=
'bobs project'
- # All files in the file set
bobs_project
. - Filetype =
'pdf'
AND size > 500000 - # All PDF files that are larger than 500000 bytes.
- Filetype is
('txt', 'pdf', 'doc')
- # All files of type TXT, PDF, or DOC.
- Atime < (NOW() - 180 DAYS)
- # All files not accessed in the last 180 days.
- Filesystem =
'big_fs '
AND owner <>'root'
- # All files in the
big_fs
filesystem that are not owned by root. - collection =
‘proj_xylem’
- Search for all records that are tagged with the user-defined tag
‘Project’
set to‘proj_xylem’
. - collection <> ’’
- Search for all records that have a collection that is assigned.
- filename LIKE
‘the_quick_brown_%’
- Returns all records for which the file name begins with
“the_quick_brown_”.
- department=
‘department_xylem’
- Search for all records that are tagged with the user-defined tag
‘Department’
set to‘proj_xylem’
. custom_tag
is null- # All files for which
custom_tag
is not set to any value.