Specify an end time for the output file
- Last UpdatedOct 02, 2024
- 1 minute read
To specify the end time for the output file, use the flag with the piarchss command.
piarchss -oet option
Where option is one of the following:
|
Option |
Description |
|---|---|
|
|
Sets the end time to the end time of input file. This is the default behavior. |
|
|
Sets the end time to the time of last event in input file. |
|
|
Sets the end time to the specified time string. The following rules apply:
|
|
|
Sets the end time to time of last event which passes the time filter. |
|
|
Sets the end time to indicate the archive is a primary archive. |
|
|
End time is not altered. |
Example
For example, the following command specifies the output archive start and end times.
piarchss -if D:\pi\dat\bigfile.dat -of D:\pi\dat\january.dat
-filter_ex "1-jan-02" "1-Feb-02" -ost "1-jan-02" -oet "1-feb-02"
Note: If the start or end time contains a space, for example , you must enclose the date string in double quotes.