This command module makes it possible to call "getfile" from the command line. It is a fairly straightforward adaption of the command module for copyfile.

 

Usage:

  func (minions) getfile -l localdir -r remotefile

Both -l and -r are required. If either is omitted then the command prints the help text. The local directory will be created if it does not already exist.

 

--

Marcus