Class ForEachFile


public class ForEachFile extends AlgorithmsCommand
Run an FFX command on a series of files. Parallel Java across nodes is supported.

Recursion through the directory structure is supported to a supplied level using the --recurse flag (0 only includes the current directory).

Files can be selected using a regular expression -- the default matches all files (".*").

To control placement of the variable file on the command line, the "FILE" string can be used. If present, it is replaced with the current file. If absent, the current file is last argument to the FFX command.
Usage:
ffxc ForEachFile [ForEachFile options] Command [Command options] <FILE> [<FILE2>]

  • Constructor Details

    • ForEachFile

      public ForEachFile()
      ForEachFile Constructor.
    • ForEachFile

      public ForEachFile(FFXBinding binding)
      ForEachFile Constructor.
      Parameters:
      binding - The Binding to use.
    • ForEachFile

      public ForEachFile(String[] args)
      ForEachFile constructor that sets the command line arguments.
      Parameters:
      args - Command line arguments.
  • Method Details