Running a Free Text Command
Before you run a Free Text command, follow the procedures under Backing Up the Datfiles Directory.
The Free Text window is used to run other data management commands originally only available using FMDSFileMonkey from the command line. Rather than, running a command from the command prompt, you can add the command in the Free Text window.
You can also use created scripts in conjunction with scheduling programs to automatically run the scripts as needed.
Follow these procedures to run a free text command:
Creating a Free Text command
To create a Free Text command:
- Make sure you have backed up the datfiles directory.
- Click the button and click Free Text Command.
The Free Text window appears.
- Type the command you want to create.
Tip: For a list of available FileMonkey commands, refer to Free Text (FileMonkey) Commands.
- Click OK.
The Free Text command appears in the script area.
You successfully created a Free Text command.
Note: If you want to save your archive command as a .fms file, click .
Running a Free Text command
To run a Free Text command:
- Follow the steps above to create a Free Text command.
- Click .
You successfully run a Free Text command.
Free Text (FileMonkey) Commands
The data management commands you can create using the Free Text window were originally only available using FMDSFileMonkey from the command line.
-V [ --version ]
Prints version to stdout and exit
-h [ --help ]
Print this message to stdout and exit
-x [ --x ]
Pause for debugger attach
|Commands and Options||Result|
Single archive to move or delete.
Flush the Warm file to an archive.
Back up files while renaming.
-c [ --contract ] arg
Contract string for binary output (files created in .DataFilesEx) and spreads (which have "|" separator).
Colorize output as none, ansi, html, or console (default) where possible.
Consolidate archive files in a database.
The oldest or newest number of days from current time.
Expire data for contracts which have not been recorded in this many days.
Delete the tick store for the contract specified with the --contract option.
Delete the bar store for the contract specified with the --contract option.
Delete the spread bar store for the contract specified with the --contract option.
Delete the archives created before the specified time in the --dir option.
Directory where the archive files will be moved.
-e [ --end ] arg
End time, exclusive. where to stop converting (default: end of data).
Force action to proceed without waiting for user input (useful for scripts).
Hide the data specified.
Input file (.csv or .fmd).
Move the archives created before the specified time in the --end option to the directory specified in the --dir option.
Specify new contract store for the contract specified with the -contract option.
Refer to Renaming Contracts for contract renaming examples.
-o [ --output ] arg
CSV output filename (omit or specify '-' for stdout).
Use the oldest days of data.
Rename the contract store for the contract specified with the -contract option.
Roll up a binary TICK file to produce a binary bar file.
-s [ --start ] arg
Start time, inclusive. Where to begin converting (default: beginning of data).
Use a script to execute multiple commands.
Make a spread bar file from tick files for the spread contract specified with the -contract option.
Make a copy of binary input time-shifted so that last element has the current universal date/time.
Unhide the data specified.
-v [ --verbose ]
Enable diagnostic logging to console, in addition to standard log file.
Validate that timestamps are all sequential in a file.