Previous Topic

Next Topic

Book Contents

Book Index

Prepend Lines

"Prepend Lines" inserts lines at the beginning of a file. Up to four different lines can be inserted, including blank lines.

Input Parameters

Output Parameters

Notes

Please only use the prepend operation this against text files as prepending text in a binary file could have unforeseen consequences.

This built-in script may only be run per-file. This built-in script may not be run as the first step of a task.

Example #1

Ed would like to insert a note with today's date followed by a blank line into archived log files that are moved from one server to another.

To perform this operation with MOVEit Central, Ed should...

  1. Create a new task with a source, process, destination, and schedule.
  2. Select "Prepend Lines" as his process
  3. Set process parameters: