File System Connector 25.1
File System Connector Help

# DirectoryFileModifiedBefore

The `DirectoryFileModifiedBefore` parameter limits the files that are retrieved by the connector. Files are retrieved only if they were modified on or before the specified time.

Set the value of this parameter in one of the following ways:

- An absolute date in epoch seconds.
- An absolute date in the format `YYYY-SHORTMONTH-DD H+:N+:S+`.

- A relative date, starting with the character ‘`-`’ followed by a time duration. The time duration is relative to the time when the task begins, which results in a rolling limit. Relative dates support the units year(s), month(s), week(s), day(s), hour(s), minute(s), and second(s). You can shorten the value by abbreviating the units to their first letter (months abbreviates to m, minutes to n). For example:

         -3months 1week
         -3m 1w

  A single value without a unit is read in seconds, so the following are equivalent:

         -1day
         -86400s
         -86400

When the connector runs a synchronize task, files that were previously ingested but no longer meet this limit are removed from the index.

Type: | Date or relative date (UTC time)
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | To retrieve files only if they were last modified before 1st Nov 2011: `DirectoryFileModifiedBefore=2011-NOV-01 00:00:00` To retrieve files only if they have not been modified in the last 7 days: `DirectoryFileModifiedBefore=-7days`
See Also: | DirectoryFileModifiedSince

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery File System Connector 25.1

Topic Title: DirectoryFileModifiedBefore